Details

Time bar (total: 4.4s)

sample40.0ms

Algorithm
intervals
Results
6.0ms175×body80valid
5.0ms25×body1280valid
3.0ms132×body80nan
3.0msbody320nan
3.0ms19×body640valid
2.0ms14×body1280nan
2.0ms18×body640nan
2.0ms18×body320valid
1.0ms19×body160valid
0.0msbody160nan

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.0b

localize8.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))
5.1b
(- 1.0 (/ (- x y) (- 1.0 y)))
6.1b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
51×*-un-lft-identity
28×times-frac
19×difference-of-squares
18×add-cube-cbrt
17×distribute-lft-out--
12×log-prod
add-exp-log add-log-exp
pow1 flip3-- add-cbrt-cube flip-- associate--r+
associate-/r* associate-/l*
log-div
associate--r-
sub-neg diff-log div-sub associate-/r/ log-pow associate-/l/
cbrt-undiv frac-2neg div-exp rem-log-exp clear-num div-inv
Counts
4 → 108
Calls
4 calls:
25.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
10.0ms
(/ (- x y) (- 1.0 y))
19.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
19.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series277.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
42.0ms
(/ (- x y) (- 1.0 y))
51.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
88.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify45.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0488942
11388894
25001876

prune290.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

5.1b
(- 1.0 (/ (- x y) (- 1.0 y)))
5.1b
(- 1.0 (/ (- x y) (- 1.0 y)))
6.2b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
6.2b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

rewrite82.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:
19.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
21.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
20.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
20.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

series372.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
56.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
135.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
130.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

simplify60.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0228854
1533780
22128776
35001768

prune279.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
0.0b
(/ (- x y) (- 1.0 y))
0.2b
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
5.1b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
77×*-un-lft-identity
69×times-frac
37×add-cube-cbrt
28×difference-of-squares
24×log-prod
20×distribute-lft-out--
11×associate-/r*
add-exp-log
add-cbrt-cube associate-/l*
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-exp div-inv
cbrt-undiv frac-2neg div-sub rem-log-exp clear-num associate-/l/
sub-neg log-div diff-log log-pow associate--r-
Counts
4 → 144
Calls
4 calls:
23.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
10.0ms
(/ (- x y) (- 1.0 y))
39.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
22.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series377.0ms

Counts
4 → 12
Calls
4 calls:
156.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
37.0ms
(/ (- x y) (- 1.0 y))
133.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
51.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify54.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
06211546
119741467
250011448

prune398.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(log (+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0))))
0.0b
(+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0)))
0.3b
(* (* 1.0 (exp 1.0)) (- x y))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt associate-*r* add-log-exp
distribute-rgt-in sub-neg associate-+l+ distribute-lft-in
log-prod pow-prod-down prod-exp cbrt-unprod
log-div flip3-+ associate-*r/ flip-+
+-commutative flip3-- rem-log-exp associate-*l* sum-log log-pow *-commutative flip-- distribute-lft-out-- difference-of-squares
Counts
3 → 55
Calls
3 calls:
15.0ms
(log (+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0))))
15.0ms
(+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0)))
18.0ms
(* (* 1.0 (exp 1.0)) (- x y))

series370.0ms

Counts
3 → 9
Calls
3 calls:
182.0ms
(log (+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0))))
96.0ms
(+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0)))
92.0ms
(* (* 1.0 (exp 1.0)) (- x y))

simplify55.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0326591
11456505
25001464

prune127.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes121.0ms

Accuracy

99.4% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 18.3b

bsearch113.0ms

Steps
ItersRangePoint
9
0.006665254470786589
16112908.465778163
15857199.25534847
9
-4638439513302.711
-14674.600957416102
-150668776.17725816

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03416
13416

end0.0ms

sample1.0s

Algorithm
intervals
Results
224.0ms5700×body80valid
164.0ms828×body1280valid
105.0ms760×body640valid
102.0ms3696×body80nan
57.0ms370×body1280nan
51.0ms438×body640nan
45.0ms454×body320valid
20.0ms223×body320nan
17.0ms258×body160valid
6.0ms120×body160nan