Details

Time bar (total: 6.6s)

sample35.0ms

Algorithm
intervals
Results
7.0ms186×body80valid
5.0ms26×body1280valid
4.0ms28×body640valid
3.0ms107×body80nan
2.0ms12×body1280nan
1.0ms10×body640nan
1.0ms10×body320valid
1.0msbody320nan
0.0msbody160valid
0.0msbody160nan

simplify19.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: 17.9b

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))
2.3b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.9b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
192×add-sqr-sqrt
184×*-un-lft-identity
105×prod-diff
103×times-frac
91×add-cube-cbrt
49×difference-of-squares
47×distribute-lft-out--
12×log-prod
pow1 flip3-- flip--
associate-/r/
add-exp-log add-log-exp
fma-neg add-cbrt-cube associate--r+
associate-/r* log-pow associate-/l*
expm1-log1p-u log-div log1p-expm1-u div-inv
associate--r-
sub-neg diff-log div-sub associate-/l/
cbrt-undiv frac-2neg div-exp rem-log-exp clear-num
Counts
4 → 227
Calls
4 calls:
17.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
9.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))))

series259.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
36.0ms
(/ (- x y) (- 1.0 y))
52.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
83.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify113.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
09864621
132403344
250013134

prune408.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (- 1.0 y))
0.2b
(cbrt (- 1.0 y))
3.9b
(log (- 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y))))))
11.8b
(- 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
10×cbrt-prod
add-cube-cbrt
add-log-exp
pow1 add-exp-log
expm1-log1p-u cbrt-div flip3-- add-cbrt-cube flip-- log1p-expm1-u
log-prod fma-neg prod-diff
log-div pow1/3 distribute-lft-out-- difference-of-squares
sub-neg diff-log rem-log-exp log-pow
Counts
4 → 70
Calls
4 calls:
3.0ms
(cbrt (- 1.0 y))
3.0ms
(cbrt (- 1.0 y))
3.0ms
(log (- 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y))))))
3.0ms
(- 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))))

series329.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(cbrt (- 1.0 y))
88.0ms
(cbrt (- 1.0 y))
90.0ms
(log (- 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y))))))
57.0ms
(- 1.0 (* (/ 1 (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (/ (- x y) (cbrt (- 1.0 y)))))

simplify42.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03781088
11244972
25001950

prune281.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (/ (- x y) (- 1.0 y)) 3)
2.2b
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
3.9b
(log (/ (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)) (fma (/ (- x y) (- 1.0 y)) (+ 1.0 (/ (- x y) (- 1.0 y))) (* 1.0 1.0))))
10.7b
(/ (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)) (fma (/ (- x y) (- 1.0 y)) (+ 1.0 (/ (- x y) (- 1.0 y))) (* 1.0 1.0)))

rewrite360.0ms

Algorithm
rewrite-expression-head
Rules
1473×add-sqr-sqrt
1185×*-un-lft-identity
912×times-frac
816×prod-diff
754×unpow-prod-down cube-prod
585×add-cube-cbrt
452×difference-of-squares
300×distribute-lft-out--
162×sqr-pow
103×log-prod
82×cube-mult unpow3
52×associate-/r/
33×associate-/l*
28×flip3-- flip-- div-inv
12×add-exp-log fma-neg
add-cbrt-cube
difference-cubes
pow1 add-log-exp
expm1-log1p-u log1p-expm1-u
pow-unpow div-exp associate-/r*
cbrt-undiv rem-log-exp pow-exp associate-/l/ rem-cube-cbrt
cube-div pow-to-exp sub-neg log-div pow-pow frac-2neg diff-log div-sub clear-num log-pow
Counts
4 → 1224
Calls
4 calls:
11.0ms
(pow (/ (- x y) (- 1.0 y)) 3)
66.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
52.0ms
(log (/ (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)) (fma (/ (- x y) (- 1.0 y)) (+ 1.0 (/ (- x y) (- 1.0 y))) (* 1.0 1.0))))
104.0ms
(/ (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)) (fma (/ (- x y) (- 1.0 y)) (+ 1.0 (/ (- x y) (- 1.0 y))) (* 1.0 1.0)))

series861.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(pow (/ (- x y) (- 1.0 y)) 3)
182.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
352.0ms
(log (/ (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)) (fma (/ (- x y) (- 1.0 y)) (+ 1.0 (/ (- x y) (- 1.0 y))) (* 1.0 1.0))))
259.0ms
(/ (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)) (fma (/ (- x y) (- 1.0 y)) (+ 1.0 (/ (- x y) (- 1.0 y))) (* 1.0 1.0)))

simplify377.0ms

Algorithm
egg-herbie
Counts
1236 → 1236
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
0207140517
1500132680

prune1.2s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(expm1 (- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y))))))
2.3b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.7b
(log1p (expm1 (- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))))
3.9b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
140×add-sqr-sqrt
134×*-un-lft-identity
93×prod-diff
77×times-frac
70×add-cube-cbrt
34×difference-of-squares
32×distribute-lft-out--
log-prod associate-/r/ add-log-exp
pow1 add-exp-log flip3-- flip-- log1p-expm1-u
expm1-log1p-u add-cbrt-cube
fma-neg div-inv
log-div
sub-neg log1p-udef expm1-log1p diff-log div-sub log1p-expm1 rem-log-exp log-pow expm1-udef associate--r-
Counts
4 → 155
Calls
4 calls:
1.0ms
(expm1 (- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y))))))
17.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
1.0ms
(log1p (expm1 (- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))))
23.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series450.0ms

Counts
4 → 12
Calls
4 calls:
186.0ms
(expm1 (- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y))))))
56.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
115.0ms
(log1p (expm1 (- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))))
92.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify93.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
08973892
128072810
250012596

prune326.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes115.0ms

Accuracy

99.4% (0.1b remaining)

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

bsearch152.0ms

Steps
ItersRangePoint
10
7.521372480586488e-07
27530559744.528915
76447033.33081697
10
-5.651135004763443e+21
-1608183693.8472729
-1630045945.922767

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04024
14024

end0.0ms

sample1.0s

Algorithm
intervals
Results
227.0ms5752×body80valid
159.0ms828×body1280valid
107.0ms757×body640valid
102.0ms3704×body80nan
57.0ms365×body1280nan
44.0ms422×body320valid
42.0ms368×body640nan
18.0ms219×body320nan
16.0ms241×body160valid
9.0ms113×body160nan