Details

Time bar (total: 5.1s)

sample37.0ms

Algorithm
intervals
Results
6.0ms172×body80valid
4.0ms24×body1280valid
4.0ms29×body640valid
3.0ms102×body80nan
2.0ms23×body320valid
2.0ms12×body1280nan
1.0ms12×body640nan
1.0msbody320nan
0.0msbody160valid
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: 20.8b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
2.0b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.8b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite95.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:
22.0ms
(/ (- x y) (- 1.0 y))
33.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
34.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series158.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ (- x y) (- 1.0 y))
50.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
74.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify39.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0397707
11115663
25001658

prune257.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

2.0b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.0b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.9b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
4.9b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

rewrite142.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
18×log-prod
16×*-un-lft-identity
12×sqrt-prod
pow1 add-cube-cbrt add-log-exp difference-of-squares
add-exp-log log-pow
log-div flip3-- times-frac sqrt-div add-cbrt-cube flip-- distribute-lft-out--
sub-neg sqrt-pow1 pow1/2 diff-log div-sub rem-log-exp associate--r-
Counts
4 → 76
Calls
4 calls:
34.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
33.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
38.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
34.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

series338.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
46.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
122.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
118.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

simplify62.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0228854
1533780
22128776
35001768

prune289.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize18.0ms

Local error

Found 4 expressions with local error:

2.0b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.0b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.9b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
4.9b
(log (sqrt (* (* (cbrt (- 1.0 (/ (- x y) (- 1.0 y)))) (cbrt (- 1.0 (/ (- x y) (- 1.0 y))))) (cbrt (- 1.0 (/ (- x y) (- 1.0 y)))))))

rewrite437.0ms

Algorithm
rewrite-expression-head
Rules
54×cbrt-div
30×flip3-- flip--
28×frac-times log-div sqrt-div
27×pow1
22×add-sqr-sqrt
20×log-pow
16×sqrt-pow1
14×associate-*l/
13×log-prod *-un-lft-identity
pow1/3 pow-prod-up
associate-*r/ add-log-exp
add-cube-cbrt sqrt-prod
add-exp-log pow-plus difference-of-squares
pow-prod-down
add-cbrt-cube
times-frac pow-sqr distribute-lft-out--
pow2 sub-neg pow1/2 diff-log div-sub rem-log-exp associate--r-
pow3
Counts
4 → 109
Calls
4 calls:
33.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
34.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
34.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
331.0ms
(log (sqrt (* (* (cbrt (- 1.0 (/ (- x y) (- 1.0 y)))) (cbrt (- 1.0 (/ (- x y) (- 1.0 y))))) (cbrt (- 1.0 (/ (- x y) (- 1.0 y)))))))

series334.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
50.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
117.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
122.0ms
(log (sqrt (* (* (cbrt (- 1.0 (/ (- x y) (- 1.0 y)))) (cbrt (- 1.0 (/ (- x y) (- 1.0 y))))) (cbrt (- 1.0 (/ (- x y) (- 1.0 y)))))))

simplify77.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
04202414
17362301
223571968
350021964

prune415.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize18.0ms

Local error

Found 4 expressions with local error:

2.0b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.0b
(+ (- 1.0 (/ x (- 1.0 y))) (/ y (- 1.0 y)))
4.9b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
4.9b
(log (sqrt (+ (- 1.0 (/ x (- 1.0 y))) (/ y (- 1.0 y)))))

rewrite337.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
18×add-sqr-sqrt
17×log-prod
11×sqrt-prod add-log-exp
pow1 add-cube-cbrt
add-exp-log log-div sqrt-div log-pow
flip3-- frac-add add-cbrt-cube flip-- distribute-lft-out distribute-lft-out-- difference-of-squares
sub-neg associate-+l+ sqrt-pow1 flip3-+ times-frac pow1/2 diff-log rem-log-exp sum-log flip-+
+-commutative associate-+l- div-sub associate--r-
Counts
4 → 80
Calls
4 calls:
34.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
160.0ms
(+ (- 1.0 (/ x (- 1.0 y))) (/ y (- 1.0 y)))
33.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
107.0ms
(log (sqrt (+ (- 1.0 (/ x (- 1.0 y))) (/ y (- 1.0 y)))))

series332.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
50.0ms
(+ (- 1.0 (/ x (- 1.0 y))) (/ y (- 1.0 y)))
117.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
119.0ms
(log (sqrt (+ (- 1.0 (/ x (- 1.0 y))) (/ y (- 1.0 y)))))

simplify119.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0391953
11041875
24858862
35001862

prune317.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

regimes149.0ms

Accuracy

92.7% (1.4b remaining)

Error of 1.5b against oracle of 0.1b and baseline of 18.9b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03639
13639

end0.0ms

sample1.0s

Algorithm
intervals
Results
208.0ms5610×body80valid
149.0ms820×body1280valid
110.0ms804×body640valid
93.0ms3697×body80nan
53.0ms364×body1280nan
48.0ms499×body320valid
44.0ms394×body640nan
16.0ms267×body160valid
16.0ms202×body320nan
5.0ms92×body160nan