Details

Time bar (total: 6.4s)

sample62.0ms

Algorithm
intervals
Results
16.0ms182×body80valid
8.0ms25×body1280valid
8.0ms121×body80nan
7.0ms27×body640valid
4.0ms13×body1280nan
3.0ms11×body640nan
2.0ms13×body320valid
1.0msbody160valid
1.0msbody320nan
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: 18.3b

localize11.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))
2.0b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.8b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite81.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)))))
11.0ms
(/ (- x y) (- 1.0 y))
20.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
20.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series268.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
41.0ms
(/ (- x y) (- 1.0 y))
51.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
84.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify44.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0488942
11388894
25001876

prune293.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
0.0b
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
0.1b
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
2.0b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite107.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:
11.0ms
(/ (- x y) (- 1.0 y))
24.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
42.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
24.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series365.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ (- x y) (- 1.0 y))
150.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
126.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
52.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify52.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
06211546
119741467
250011448

prune365.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (- 1.0 (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.0b
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
10.6b
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
11.1b
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

rewrite286.0ms

Algorithm
rewrite-expression-head
Rules
99×add-sqr-sqrt
48×difference-of-squares
39×log-prod
38×*-un-lft-identity
36×unpow-prod-down cube-prod
20×sqr-pow
16×times-frac
14×distribute-lft-out--
11×pow1
log-div add-log-exp
add-cube-cbrt log-pow
add-exp-log distribute-lft-out
associate-+l+ add-cbrt-cube
associate-+r+ flip3-- flip3-+ flip-- flip-+
difference-cubes associate-+r- sub-neg diff-log rem-log-exp sum-log associate--r-
+-commutative associate-+l-
Counts
4 → 128
Calls
4 calls:
59.0ms
(+ (- 1.0 (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)))))))
98.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
80.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
40.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

series978.0ms

Counts
4 → 12
Calls
4 calls:
316.0ms
(+ (- 1.0 (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))
323.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
162.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

simplify71.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
06162537
119732390
250012345

prune421.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (exp 1.0) (+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y)))
3.3b
(+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y))
7.5b
(/ x (pow y 2))
12.8b
(log (/ (exp 1.0) (+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y))))

rewrite145.0ms

Algorithm
rewrite-expression-head
Rules
42×times-frac
36×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×log-prod
12×add-exp-log unpow-prod-down
11×associate-/r*
10×associate-/r/
associate-*r/ frac-add
add-cbrt-cube
associate-/l* add-log-exp
pow1 div-exp
associate-+l+ unpow2 sqr-pow
flip3-- flip3-+ frac-sub flip-- flip-+ div-inv
cbrt-undiv distribute-rgt-in sub-neg frac-2neg distribute-lft-in rem-log-exp clear-num
+-commutative pow-to-exp log-div pow-exp sum-log log-pow
Counts
4 → 128
Calls
4 calls:
65.0ms
(/ (exp 1.0) (+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y)))
38.0ms
(+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y))
4.0ms
(/ x (pow y 2))
34.0ms
(log (/ (exp 1.0) (+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y))))

series259.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(/ (exp 1.0) (+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y)))
33.0ms
(+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y))
22.0ms
(/ x (pow y 2))
109.0ms
(log (/ (exp 1.0) (+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y))))

simplify66.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
06061615
124501496
250021487

prune363.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes106.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch181.0ms

Steps
ItersRangePoint
10
0.4954286465087044
4.914394902755447e+18
148253897.0245374
10
-3.5763408185767224e+18
-113974.2897778741
-270508391.61573327

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03417
13417

end0.0ms

sample1.8s

Algorithm
intervals
Results
502.0ms5682×body80valid
273.0ms802×body1280valid
252.0ms3754×body80nan
211.0ms817×body640valid
104.0ms349×body1280nan
90.0ms464×body320valid
88.0ms363×body640nan
38.0ms217×body320nan
32.0ms235×body160valid
14.0ms116×body160nan