Details

Time bar (total: 13.8s)

sample40.0ms

Algorithm
intervals
Results
8.0ms29×body1280valid
7.0ms190×body80valid
3.0ms120×body80nan
3.0ms19×body1280nan
3.0ms20×body640valid
1.0ms11×body640nan
1.0ms12×body320valid
0.0msbody320nan
0.0msbody160valid
0.0msbody160nan

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

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

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.2b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
0.0b
(/ (- x y) (- 1.0 y))
1.3b
(- 1.0 (/ (- x y) (- 1.0 y)))
5.7b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
192×add-sqr-sqrt
184×*-un-lft-identity
105×prod-diff
103×times-frac
91×add-cube-cbrt
49×difference-of-squares
47×distribute-lft-out--
12×log-prod
pow1 flip3-- flip-- add-log-exp
associate-/r/
add-exp-log
fma-neg add-cbrt-cube associate--r+
associate-/r* log-pow associate-/l*
expm1-log1p-u log-div log1p-expm1-u div-inv
diff-log associate--r-
sub-neg div-sub associate-/l/
cbrt-undiv frac-2neg div-exp rem-log-exp clear-num
Counts
4 → 228
Calls
4 calls:
20.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
9.0ms
(/ (- x y) (- 1.0 y))
16.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
18.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series287.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
39.0ms
(/ (- x y) (- 1.0 y))
58.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
92.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify111.0ms

Algorithm
egg-herbie
Counts
240 → 240
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
09814627
132113350
250013140

prune342.0ms

Filtered
240 candidates to 126 candidates (52.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2364240
Fresh000
Picked101
Done000
Total2374241

Merged error: 0.1b

Counts
241 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

3.4b
(- 1.0 (* (+ 1.0 y) (/ (- x y) (- (* 1.0 1.0) (* y y)))))
5.7b
(log (+ (- 1.0 (* (+ 1.0 y) (/ (- x y) (- (* 1.0 1.0) (* y y))))) (* (/ (- x y) (- (* 1.0 1.0) (* y y))) (+ (- (+ 1.0 y)) (+ 1.0 y)))))
11.8b
(/ (- x y) (- (* 1.0 1.0) (* y y)))
11.8b
(/ (- x y) (- (* 1.0 1.0) (* y y)))

rewrite999.0ms

Algorithm
rewrite-expression-head
Rules
2855×add-sqr-sqrt
1310×*-un-lft-identity
1209×difference-of-squares
966×frac-add
829×times-frac
616×log-div
546×prod-diff
528×associate-/r*
516×frac-times
513×associate-*r*
492×swap-sqr
441×flip3-+ flip-+
419×add-cube-cbrt
418×unswap-sqr
413×*-commutative
395×distribute-lft-out--
352×distribute-neg-frac
329×flip3-- flip--
186×associate-*l*
86×associate-*l/
80×associate-/l*
32×associate-/l/
16×frac-2neg clear-num
14×distribute-lft-out
12×associate-*r/
11×log-prod
10×associate-/r/
add-exp-log
add-cbrt-cube
add-log-exp
pow1 div-inv
expm1-log1p-u log1p-expm1-u
fma-neg
cbrt-undiv div-sub div-exp
sub-neg diff-log rem-log-exp log-pow
Counts
4 → 1651
Calls
4 calls:
112.0ms
(- 1.0 (* (+ 1.0 y) (/ (- x y) (- (* 1.0 1.0) (* y y)))))
374.0ms
(log (+ (- 1.0 (* (+ 1.0 y) (/ (- x y) (- (* 1.0 1.0) (* y y))))) (* (/ (- x y) (- (* 1.0 1.0) (* y y))) (+ (- (+ 1.0 y)) (+ 1.0 y)))))
30.0ms
(/ (- x y) (- (* 1.0 1.0) (* y y)))
27.0ms
(/ (- x y) (- (* 1.0 1.0) (* y y)))

series416.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(- 1.0 (* (+ 1.0 y) (/ (- x y) (- (* 1.0 1.0) (* y y)))))
149.0ms
(log (+ (- 1.0 (* (+ 1.0 y) (/ (- x y) (- (* 1.0 1.0) (* y y))))) (* (/ (- x y) (- (* 1.0 1.0) (* y y))) (+ (- (+ 1.0 y)) (+ 1.0 y)))))
74.0ms
(/ (- x y) (- (* 1.0 1.0) (* y y)))
76.0ms
(/ (- x y) (- (* 1.0 1.0) (* y y)))

simplify792.0ms

Algorithm
egg-herbie
Counts
1663 → 1663
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
0500282997

prune2.7s

Filtered
1663 candidates to 483 candidates (29.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New166031663
Fresh213
Picked101
Done000
Total166341667

Merged error: 0.1b

Counts
1667 → 4

localize36.0ms

Local error

Found 4 expressions with local error:

12.1b
(cbrt (- (* 1.0 1.0) (* y y)))
12.1b
(cbrt (- (* 1.0 1.0) (* y y)))
12.1b
(cbrt (- (* 1.0 1.0) (* y y)))
26.0b
(fma (- (/ (- x y) (cbrt (- (* 1.0 1.0) (* y y))))) (* (+ 1.0 y) (/ 1 (* (cbrt (- (* 1.0 1.0) (* y y))) (cbrt (- (* 1.0 1.0) (* y y)))))) (* (/ (- x y) (cbrt (- (* 1.0 1.0) (* y y)))) (* (+ 1.0 y) (/ 1 (* (cbrt (- (* 1.0 1.0) (* y y))) (cbrt (- (* 1.0 1.0) (* y y))))))))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
157×add-sqr-sqrt
99×cbrt-prod
75×difference-of-squares
43×*-un-lft-identity
36×swap-sqr
30×*-commutative unswap-sqr
15×distribute-lft-out--
12×associate-*l*
add-cube-cbrt
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip--
fma-udef
Counts
4 → 145
Calls
4 calls:
18.0ms
(cbrt (- (* 1.0 1.0) (* y y)))
17.0ms
(cbrt (- (* 1.0 1.0) (* y y)))
17.0ms
(cbrt (- (* 1.0 1.0) (* y y)))
1.0ms
(fma (- (/ (- x y) (cbrt (- (* 1.0 1.0) (* y y))))) (* (+ 1.0 y) (/ 1 (* (cbrt (- (* 1.0 1.0) (* y y))) (cbrt (- (* 1.0 1.0) (* y y)))))) (* (/ (- x y) (cbrt (- (* 1.0 1.0) (* y y)))) (* (+ 1.0 y) (/ 1 (* (cbrt (- (* 1.0 1.0) (* y y))) (cbrt (- (* 1.0 1.0) (* y y))))))))

series915.0ms

Counts
4 → 12
Calls
4 calls:
206.0ms
(cbrt (- (* 1.0 1.0) (* y y)))
203.0ms
(cbrt (- (* 1.0 1.0) (* y y)))
206.0ms
(cbrt (- (* 1.0 1.0) (* y y)))
299.0ms
(fma (- (/ (- x y) (cbrt (- (* 1.0 1.0) (* y y))))) (* (+ 1.0 y) (/ 1 (* (cbrt (- (* 1.0 1.0) (* y y))) (cbrt (- (* 1.0 1.0) (* y y)))))) (* (/ (- x y) (cbrt (- (* 1.0 1.0) (* y y)))) (* (+ 1.0 y) (/ 1 (* (cbrt (- (* 1.0 1.0) (* y y))) (cbrt (- (* 1.0 1.0) (* y y))))))))

simplify52.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03231580
111041470
250011409

prune524.0ms

Filtered
157 candidates to 71 candidates (45.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1570157
Fresh033
Picked011
Done000
Total1574161

Merged error: 0.1b

Counts
161 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
1.2b
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
3.8b
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
5.8b
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

rewrite707.0ms

Algorithm
rewrite-expression-head
Rules
4589×*-un-lft-identity
3942×add-sqr-sqrt
2492×times-frac
1890×prod-diff
1552×add-cube-cbrt
1303×swap-sqr
1291×distribute-lft-out--
922×difference-of-squares
885×associate-*l*
877×associate-*r*
249×unswap-sqr
225×frac-times
171×*-commutative
162×associate-/l*
160×associate-/r*
128×associate-/r/
98×flip3-- flip--
64×div-inv associate-/l/
57×log-prod
33×clear-num
32×frac-2neg
18×add-exp-log
16×add-cbrt-cube
15×fma-neg associate-*r/ associate-*l/
13×pow1
add-log-exp
cbrt-undiv expm1-log1p-u log-div div-exp prod-exp cbrt-unprod log1p-expm1-u
un-div-inv
rem-log-exp log-pow
pow2 sub-neg flip3-+ pow-plus diff-log pow-prod-down pow-sqr pow-prod-up flip-+ distribute-lft-out
Counts
4 → 2454
Calls
4 calls:
43.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
147.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
187.0ms
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
13.0ms
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

series597.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
107.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
345.0ms
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
93.0ms
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

simplify1.2s

Algorithm
egg-herbie
Counts
2466 → 2466
Iterations

Useful iterations: 1 (82.0ms)

IterNodesCost
04476104562
15001102013

prune2.6s

Filtered
2466 candidates to 597 candidates (24.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New246512466
Fresh112
Picked101
Done011
Total246732470

Merged error: 0.1b

Counts
2470 → 3

regimes63.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch195.0ms

Steps
ItersRangePoint
10
2.622148067335985e-09
55266295.648746796
27970212.32870033
9
-21360866922585.72
-5585.32673263024
-68337904.12502125

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07199
17999
28199
38199

end0.0ms

sample1.0s

Algorithm
intervals
Results
222.0ms5737×body80valid
160.0ms785×body1280valid
111.0ms778×body640valid
103.0ms3602×body80nan
55.0ms361×body1280nan
46.0ms463×body320valid
46.0ms380×body640nan
19.0ms220×body320nan
16.0ms237×body160valid
6.0ms105×body160nan