Details

Time bar (total: 5.5s)

sample34.0ms

Algorithm
intervals
Results
7.0ms192×body80valid
4.0ms22×body1280valid
3.0ms23×body640valid
3.0ms95×body80nan
2.0ms15×body640nan
1.0ms14×body320valid
1.0msbody1280nan
0.0msbody320nan
0.0msbody160valid
0.0msbody160nan

simplify20.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.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
2.4b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.9b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
44×*-un-lft-identity
27×times-frac
16×add-cube-cbrt difference-of-squares
14×distribute-lft-out--
add-exp-log log-prod
associate-/r* add-cbrt-cube associate-/l* add-log-exp
pow1 flip3-- flip--
log-div div-sub associate-/r/ associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp rem-log-exp clear-num log-pow div-inv associate--r-
Counts
3 → 85
Calls
3 calls:
8.0ms
(/ (- x y) (- 1.0 y))
17.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
14.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series189.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(/ (- x y) (- 1.0 y))
54.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
91.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify142.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0397707
11115663
24988658
35001658

prune233.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

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.9b
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
5.1b
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
42×*-un-lft-identity
32×times-frac
25×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*
div-exp prod-exp associate-/r/
log-prod 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 → 117
Calls
4 calls:
10.0ms
(/ 1 (- 1.0 y))
14.0ms
(* (- x y) (/ 1 (- 1.0 y)))
2.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
3.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

series402.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ 1 (- 1.0 y))
42.0ms
(* (- x y) (/ 1 (- 1.0 y)))
285.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
52.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

simplify60.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0480836
12036736
25001688

prune262.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))) 3)
3.9b
(log (cbrt (pow (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))) 3)))
5.1b
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
11.6b
(cbrt (pow (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))) 3))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
24×cbrt-prod
15×log-prod
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod
pow1 add-exp-log cube-div add-log-exp
add-cbrt-cube
cbrt-div flip3-- flip--
cube-mult pow-unpow unpow3 sqr-pow
log-div pow1/3 log-pow
pow-to-exp sub-neg pow-pow diff-log rem-log-exp pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 87
Calls
4 calls:
4.0ms
(pow (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))) 3)
5.0ms
(log (cbrt (pow (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))) 3)))
3.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
4.0ms
(cbrt (pow (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))) 3))

series300.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(pow (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))) 3)
87.0ms
(log (cbrt (pow (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))) 3)))
52.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
56.0ms
(cbrt (pow (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))) 3))

simplify52.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03431073
11322959
25001943

prune210.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize23.0ms

Local error

Found 4 expressions with local error:

3.9b
(log (cbrt (pow (/ (- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3)) (+ (* (* (- x y) (/ 1 (- 1.0 y))) (+ (* (- x y) (/ 1 (- 1.0 y))) 1.0)) (* 1.0 1.0))) 3)))
5.0b
(- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3))
11.5b
(/ (- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3)) (+ (* (* (- x y) (/ 1 (- 1.0 y))) (+ (* (- x y) (/ 1 (- 1.0 y))) 1.0)) (* 1.0 1.0)))
11.6b
(cbrt (pow (/ (- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3)) (+ (* (* (- x y) (/ 1 (- 1.0 y))) (+ (* (- x y) (/ 1 (- 1.0 y))) 1.0)) (* 1.0 1.0))) 3))

rewrite163.0ms

Algorithm
rewrite-expression-head
Rules
263×add-sqr-sqrt
195×times-frac
192×cbrt-prod
136×difference-of-squares
127×*-un-lft-identity
124×unpow-prod-down cube-prod
104×sqr-pow
99×log-prod
93×add-cube-cbrt
17×difference-cubes distribute-lft-out--
13×associate-/l*
10×associate-/r/
add-exp-log
add-cbrt-cube add-log-exp
pow1 flip3-+ flip-+ div-inv
associate-/r*
cube-div cube-mult cbrt-div flip3-- pow1/3 unpow3 log-pow flip-- associate-/l/
cbrt-undiv sub-neg log-div frac-2neg diff-log div-sub div-exp rem-log-exp clear-num rem-cbrt-cube
Counts
4 → 310
Calls
4 calls:
45.0ms
(log (cbrt (pow (/ (- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3)) (+ (* (* (- x y) (/ 1 (- 1.0 y))) (+ (* (- x y) (/ 1 (- 1.0 y))) 1.0)) (* 1.0 1.0))) 3)))
10.0ms
(- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3))
39.0ms
(/ (- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3)) (+ (* (* (- x y) (/ 1 (- 1.0 y))) (+ (* (- x y) (/ 1 (- 1.0 y))) 1.0)) (* 1.0 1.0)))
42.0ms
(cbrt (pow (/ (- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3)) (+ (* (* (- x y) (/ 1 (- 1.0 y))) (+ (* (- x y) (/ 1 (- 1.0 y))) 1.0)) (* 1.0 1.0))) 3))

series1.1s

Counts
4 → 12
Calls
4 calls:
353.0ms
(log (cbrt (pow (/ (- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3)) (+ (* (* (- x y) (/ 1 (- 1.0 y))) (+ (* (- x y) (/ 1 (- 1.0 y))) 1.0)) (* 1.0 1.0))) 3)))
189.0ms
(- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3))
277.0ms
(/ (- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3)) (+ (* (* (- x y) (/ 1 (- 1.0 y))) (+ (* (- x y) (/ 1 (- 1.0 y))) 1.0)) (* 1.0 1.0)))
281.0ms
(cbrt (pow (/ (- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3)) (+ (* (* (- x y) (/ 1 (- 1.0 y))) (+ (* (- x y) (/ 1 (- 1.0 y))) 1.0)) (* 1.0 1.0))) 3))

simplify134.0ms

Algorithm
egg-herbie
Counts
322 → 322
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
0122312361
1500111961

prune878.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

regimes99.0ms

Accuracy

99.7% (0.1b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03019
13019

end0.0ms

sample1.0s

Algorithm
intervals
Results
225.0ms5689×body80valid
150.0ms779×body1280valid
113.0ms807×body640valid
101.0ms3853×body80nan
58.0ms363×body1280nan
52.0ms427×body640nan
49.0ms472×body320valid
19.0ms224×body320nan
17.0ms253×body160valid
6.0ms106×body160nan