Details

Time bar (total: 7.6s)

sample35.0ms

Algorithm
intervals
Results
7.0ms188×body80valid
5.0ms24×body1280valid
3.0ms114×body80nan
3.0ms21×body640valid
2.0ms13×body1280nan
2.0ms16×body320valid
1.0ms12×body640nan
0.0msbody160valid
0.0msbody320nan
0.0msbody160nan

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0196
1296
2416
3606
4786
5946
61096
71396
82146
92796
102796

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.8b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
1.9b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.5b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
175×add-sqr-sqrt
169×*-un-lft-identity
102×times-frac
93×prod-diff
81×add-cube-cbrt
46×difference-of-squares
44×distribute-lft-out--
associate-/r/
flip3-- flip--
add-exp-log log-prod
associate-/r* add-cbrt-cube associate-/l* add-log-exp
pow1 div-inv
expm1-log1p-u fma-neg log1p-expm1-u
log-div div-sub associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp rem-log-exp clear-num log-pow associate--r-
Counts
3 → 187
Calls
3 calls:
15.0ms
(/ (- x y) (- 1.0 y))
26.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
28.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series180.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(/ (- x y) (- 1.0 y))
52.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
88.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify88.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
08473956
127662899
250012689

prune343.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- 1.0 y))
0.3b
(cbrt (- 1.0 y))
3.5b
(log (- 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y))))))
11.4b
(- 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
10×cbrt-prod
add-cube-cbrt
add-log-exp
pow1 add-exp-log
expm1-log1p-u cbrt-div flip3-- add-cbrt-cube flip-- log1p-expm1-u
log-prod fma-neg prod-diff
log-div pow1/3 distribute-lft-out-- difference-of-squares
sub-neg diff-log rem-log-exp log-pow
Counts
4 → 70
Calls
4 calls:
2.0ms
(cbrt (- 1.0 y))
2.0ms
(cbrt (- 1.0 y))
2.0ms
(log (- 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y))))))
2.0ms
(- 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))))

series337.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(cbrt (- 1.0 y))
96.0ms
(cbrt (- 1.0 y))
94.0ms
(log (- 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y))))))
55.0ms
(- 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))))

simplify47.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03781088
11244972
25001950

prune279.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (log (- (pow 1.0 3) (pow (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))) 3))) (log (+ (* 1.0 1.0) (+ (* (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))) (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y))))) (* 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))))))))
11.4b
(- (pow 1.0 3) (pow (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))) 3))
12.5b
(log (+ (* 1.0 1.0) (+ (* (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))) (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y))))) (* 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y))))))))
16.7b
(log (- (pow 1.0 3) (pow (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))) 3)))

rewrite2.3s

Algorithm
rewrite-expression-head
Rules
112×prod-diff
88×add-sqr-sqrt
66×*-un-lft-identity
56×add-cube-cbrt
45×unpow-prod-down cube-prod
39×sqr-pow
32×log-prod
25×difference-of-squares
21×cube-mult unpow3
19×pow1
16×fma-neg
15×log-pow
13×associate--l+
log-div
distribute-lft-out--
add-exp-log add-log-exp
expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
difference-cubes associate--r+
associate--l- sub-neg flip3-+ diff-log rem-log-exp flip-+ associate--r-
Counts
4 → 233
Calls
4 calls:
1.1s
(- (log (- (pow 1.0 3) (pow (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))) 3))) (log (+ (* 1.0 1.0) (+ (* (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))) (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y))))) (* 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))))))))
16.0ms
(- (pow 1.0 3) (pow (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))) 3))
1.1s
(log (+ (* 1.0 1.0) (+ (* (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))) (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y))))) (* 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y))))))))
15.0ms
(log (- (pow 1.0 3) (pow (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))) 3)))

series1.2s

Counts
4 → 12
Calls
4 calls:
431.0ms
(- (log (- (pow 1.0 3) (pow (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))) 3))) (log (+ (* 1.0 1.0) (+ (* (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))) (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y))))) (* 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))))))))
277.0ms
(- (pow 1.0 3) (pow (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))) 3))
236.0ms
(log (+ (* 1.0 1.0) (+ (* (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))) (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y))))) (* 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y))))))))
301.0ms
(log (- (pow 1.0 3) (pow (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))) 3)))

simplify226.0ms

Algorithm
egg-herbie
Counts
245 → 245
Iterations

Useful iterations: 2 (120.0ms)

IterNodesCost
082412881
133079630
250019621

prune619.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ x y) (* 1.0 (/ 1 y)))
3.0b
(fma 1.0 (/ x (pow y 2)) (- (/ x y) (* 1.0 (/ 1 y))))
3.9b
(log (fma 1.0 (/ x (pow y 2)) (- (/ x y) (* 1.0 (/ 1 y)))))
8.3b
(/ x (pow y 2))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
42×times-frac
36×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
13×fma-neg prod-diff
12×unpow-prod-down
10×add-exp-log
associate-/r*
add-cbrt-cube add-log-exp
pow1
expm1-log1p-u log1p-expm1-u div-inv unpow2 sqr-pow
log-prod div-exp associate-/l*
associate-*r/ un-div-inv frac-sub sub-div
cbrt-undiv pow-to-exp sub-neg flip3-- distribute-rgt-out-- frac-2neg diff-log rem-log-exp pow-exp clear-num log-pow flip-- fma-udef
Counts
4 → 120
Calls
4 calls:
12.0ms
(- (/ x y) (* 1.0 (/ 1 y)))
0.0ms
(fma 1.0 (/ x (pow y 2)) (- (/ x y) (* 1.0 (/ 1 y))))
1.0ms
(log (fma 1.0 (/ x (pow y 2)) (- (/ x y) (* 1.0 (/ 1 y)))))
4.0ms
(/ x (pow y 2))

series159.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (/ x y) (* 1.0 (/ 1 y)))
38.0ms
(fma 1.0 (/ x (pow y 2)) (- (/ x y) (* 1.0 (/ 1 y))))
64.0ms
(log (fma 1.0 (/ x (pow y 2)) (- (/ x y) (* 1.0 (/ 1 y)))))
27.0ms
(/ x (pow y 2))

simplify52.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0432915
11639768
25001735

prune336.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes56.0ms

Accuracy

99.7% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 16.8b

bsearch131.0ms

Steps
ItersRangePoint
10
0.00023067256624480483
29129170.846978452
28223629.68475053
8
-513705451564942.06
-1847211671904.2754
-1864702967354.4304

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03723
13723

end0.0ms

sample1.0s

Algorithm
intervals
Results
222.0ms5692×body80valid
164.0ms808×body1280valid
104.0ms769×body640valid
101.0ms3880×body80nan
60.0ms388×body1280nan
44.0ms455×body320valid
43.0ms377×body640nan
19.0ms234×body320nan
18.0ms276×body160valid
7.0ms133×body160nan