Details

Time bar (total: 8.2s)

sample38.0ms

Algorithm
intervals
Results
8.0ms29×body1280valid
7.0ms183×body80valid
3.0ms22×body640valid
3.0ms108×body80nan
2.0ms13×body640nan
2.0ms10×body1280nan
1.0ms13×body320valid
1.0msbody160valid
0.0msbody320nan
0.0msbody160nan

simplify21.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

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: 18.0b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
2.5b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.4b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite62.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:
9.0ms
(/ (- x y) (- 1.0 y))
17.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
20.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series177.0ms

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

simplify94.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
08473956
127662899
250012689

prune348.0ms

Filtered
196 candidates to 98 candidates (50.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1915196
Fresh000
Picked101
Done000
Total1925197

Merged error: 0.2b

Counts
197 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- 1.0 y))
0.1b
(* (- x y) (/ 1 (- 1.0 y)))
3.5b
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
4.4b
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
44×*-un-lft-identity
32×times-frac
27×add-cube-cbrt
21×associate-*r*
18×add-exp-log
11×add-cbrt-cube
pow1 distribute-lft-out-- difference-of-squares
flip3-- flip-- add-log-exp
associate-*l* associate-/r*
expm1-log1p-u div-exp prod-exp associate-/r/ log1p-expm1-u
log-prod fma-neg prod-diff associate-/l* unswap-sqr
cbrt-undiv frac-times log-div rec-exp 1-exp associate-*l/ cbrt-unprod div-inv
sub-neg pow-flip frac-2neg diff-log associate-*r/ rem-log-exp pow-prod-down clear-num log-pow un-div-inv *-commutative inv-pow
Counts
4 → 131
Calls
4 calls:
6.0ms
(/ 1 (- 1.0 y))
17.0ms
(* (- x y) (/ 1 (- 1.0 y)))
3.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
3.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

series197.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ 1 (- 1.0 y))
41.0ms
(* (- x y) (/ 1 (- 1.0 y)))
49.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
85.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

simplify61.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0521939
12176819
25001766

prune247.0ms

Filtered
143 candidates to 96 candidates (67.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1430143
Fresh044
Picked011
Done000
Total1435148

Merged error: 0.2b

Counts
148 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))) (log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y)))))))
2.5b
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
10.8b
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
12.0b
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

rewrite353.0ms

Algorithm
rewrite-expression-head
Rules
1120×add-sqr-sqrt
1014×*-un-lft-identity
832×prod-diff
633×unpow-prod-down cube-prod
624×times-frac
500×add-cube-cbrt
313×difference-of-squares
259×distribute-lft-out--
111×sqr-pow
81×cube-mult unpow3
72×log-prod
48×associate-/r/
33×associate--l+
28×flip3-- flip--
24×div-inv
19×pow1
16×fma-neg
15×log-pow
log-div
add-exp-log add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u
difference-cubes associate--r+
associate--l- sub-neg flip3-+ diff-log rem-log-exp flip-+ associate--r-
Counts
4 → 1013
Calls
4 calls:
82.0ms
(- (log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))) (log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y)))))))
66.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
82.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
18.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

series1.0s

Counts
4 → 12
Calls
4 calls:
355.0ms
(- (log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))) (log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y)))))))
176.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
322.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
173.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

simplify347.0ms

Algorithm
egg-herbie
Counts
1025 → 1025
Iterations

Useful iterations: 1 (45.0ms)

IterNodesCost
0182335298
1500126869

prune680.0ms

Filtered
1025 candidates to 146 candidates (14.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New102411025
Fresh123
Picked101
Done011
Total102641030

Merged error: 0.2b

Counts
1030 → 4

localize42.0ms

Local error

Found 4 expressions with local error:

12.0b
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
14.9b
(* (pow (/ (- x y) (cbrt (- 1.0 y))) 3) (pow (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) 3))
15.4b
(fma 1.0 (* 1.0 1.0) (- (* (pow (/ (- x y) (cbrt (- 1.0 y))) 3) (pow (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) 3))))
31.9b
(+ (/ (- (pow (- x y) 3)) (- 1.0 y)) (pow (/ (- x y) (cbrt (- 1.0 y))) 3))

rewrite699.0ms

Algorithm
rewrite-expression-head
Rules
413×add-sqr-sqrt
331×times-frac
303×*-un-lft-identity
186×fma-def
159×unpow-prod-down cube-prod
122×add-cube-cbrt
98×associate-*l*
93×add-exp-log
82×distribute-lft-out-- difference-of-squares
81×distribute-lft-neg-in
80×distribute-rgt-neg-in
66×cbrt-prod
64×unswap-sqr
48×prod-exp
46×pow-exp
36×associate-*r*
28×cbrt-div sqr-pow
25×div-exp
22×associate-/r/
15×flip3-- flip--
14×unpow3
13×pow-to-exp
12×cube-mult
frac-times
rec-exp 1-exp
add-cbrt-cube add-log-exp
pow1 cube-div neg-mul-1 associate-*r/ associate-*l/ div-inv
expm1-log1p-u log1p-expm1-u
log-prod
log-div flip3-+ flip-+
+-commutative neg-sub0 associate-+l- distribute-rgt-out div-sub rem-log-exp pow-prod-down frac-add sum-log log-pow *-commutative cbrt-unprod fma-udef distribute-lft-out
Counts
4 → 478
Calls
4 calls:
18.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
70.0ms
(* (pow (/ (- x y) (cbrt (- 1.0 y))) 3) (pow (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) 3))
1.0ms
(fma 1.0 (* 1.0 1.0) (- (* (pow (/ (- x y) (cbrt (- 1.0 y))) 3) (pow (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) 3))))
567.0ms
(+ (/ (- (pow (- x y) 3)) (- 1.0 y)) (pow (/ (- x y) (cbrt (- 1.0 y))) 3))

series474.0ms

Counts
4 → 12
Calls
4 calls:
164.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
78.0ms
(* (pow (/ (- x y) (cbrt (- 1.0 y))) 3) (pow (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) 3))
151.0ms
(fma 1.0 (* 1.0 1.0) (- (* (pow (/ (- x y) (cbrt (- 1.0 y))) 3) (pow (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) 3))))
80.0ms
(+ (/ (- (pow (- x y) 3)) (- 1.0 y)) (pow (/ (- x y) (cbrt (- 1.0 y))) 3))

simplify85.0ms

Algorithm
egg-herbie
Counts
490 → 490
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
011795314
150024333

prune1.8s

Filtered
490 candidates to 237 candidates (48.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New4891490
Fresh022
Picked101
Done011
Total4904494

Merged error: 0.2b

Counts
494 → 4

regimes139.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch128.0ms

Steps
ItersRangePoint
11
4.150842200292333e-05
3.0895353218301726e+30
44557667.85617049
8
-20251402574.662838
-71914824.75180596
-130359106.1396007

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03215
13215

end0.0ms

sample1.0s

Algorithm
intervals
Results
233.0ms5789×body80valid
161.0ms793×body1280valid
106.0ms733×body640valid
104.0ms3769×body80nan
62.0ms375×body1280nan
47.0ms444×body320valid
45.0ms366×body640nan
19.0ms216×body320nan
17.0ms241×body160valid
7.0ms131×body160nan