Details

Time bar (total: 3.7s)

sample28.0ms

Algorithm
intervals
Results
11.0ms127×pre10240exit
4.0ms256×body80valid
2.0ms129×pre80true

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1123
2123

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.9b

localize4.0ms

Local error

Found 2 expressions with local error:

0.8b
(/ x0 (- 1.0 x1))
7.4b
(- (/ x0 (- 1.0 x1)) x0)

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
22×*-un-lft-identity
16×times-frac
12×add-cube-cbrt
difference-of-squares
associate-/r* distribute-lft-out--
add-exp-log add-cbrt-cube add-log-exp
associate-/l*
pow1 flip3-- associate-/r/ flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 52
Calls
2 calls:
11.0ms
(/ x0 (- 1.0 x1))
58.0ms
(- (/ x0 (- 1.0 x1)) x0)

series84.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(/ x0 (- 1.0 x1))
48.0ms
(- (/ x0 (- 1.0 x1)) x0)

simplify96.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0244328
1801315
23123310
35001310

prune89.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 7.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.8b
(/ x0 (- 1.0 x1))
0.8b
(/ x0 (- 1.0 x1))
0.8b
(/ x0 (- 1.0 x1))
6.2b
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt *-un-lft-identity
45×times-frac
34×add-cube-cbrt
15×associate-/r*
13×difference-of-squares
12×distribute-lft-out--
10×add-exp-log add-cbrt-cube
associate-/l*
associate-/r/ add-log-exp
pow1 flip3-- flip--
cbrt-undiv frac-2neg div-exp clear-num div-inv
sub-neg diff-log
Counts
4 → 124
Calls
4 calls:
14.0ms
(/ x0 (- 1.0 x1))
11.0ms
(/ x0 (- 1.0 x1))
11.0ms
(/ x0 (- 1.0 x1))
22.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

series191.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ x0 (- 1.0 x1))
36.0ms
(/ x0 (- 1.0 x1))
40.0ms
(/ x0 (- 1.0 x1))
75.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

simplify163.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0288828
11116773
24811759
35001759

prune247.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (/ x0 (- 1.0 x1)) x0)
0.8b
(/ x0 (- 1.0 x1))
0.8b
(/ x0 (- 1.0 x1))
6.2b
(- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))

rewrite167.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
40×add-sqr-sqrt
30×times-frac
24×add-cube-cbrt
10×associate-/r*
add-exp-log add-cbrt-cube distribute-lft-out-- add-log-exp difference-of-squares
associate-/l*
pow1 associate-/r/
flip3-- flip--
cbrt-undiv frac-2neg div-exp clear-num div-inv
+-commutative sub-neg flip3-+ diff-log sum-log flip-+ distribute-lft-out
Counts
4 → 98
Calls
4 calls:
42.0ms
(+ (/ x0 (- 1.0 x1)) x0)
11.0ms
(/ x0 (- 1.0 x1))
11.0ms
(/ x0 (- 1.0 x1))
100.0ms
(- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))

series218.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(+ (/ x0 (- 1.0 x1)) x0)
36.0ms
(/ x0 (- 1.0 x1))
41.0ms
(/ x0 (- 1.0 x1))
103.0ms
(- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))

simplify47.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0381813
11522765
25001749

prune277.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 4.2b

localize18.0ms

Local error

Found 4 expressions with local error:

0.8b
(/ x0 (- 1.0 x1))
0.8b
(/ x0 (- 1.0 x1))
3.8b
(log (exp (- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))))
6.2b
(- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))

rewrite475.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt *-un-lft-identity
30×times-frac
26×add-cube-cbrt
10×associate-/r*
add-exp-log add-cbrt-cube distribute-lft-out-- difference-of-squares
associate-/l* add-log-exp
pow1 log-prod
associate-/r/ log-pow
exp-prod flip3-- flip--
cbrt-undiv sub-neg frac-2neg div-exp exp-sum clear-num div-inv
log-div exp-diff diff-log rem-log-exp
Counts
4 → 104
Calls
4 calls:
11.0ms
(/ x0 (- 1.0 x1))
12.0ms
(/ x0 (- 1.0 x1))
347.0ms
(log (exp (- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))))
100.0ms
(- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))

series286.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ x0 (- 1.0 x1))
35.0ms
(/ x0 (- 1.0 x1))
104.0ms
(log (exp (- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))))
107.0ms
(- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))

simplify45.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03511117
113641020
25001999

prune330.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 4.2b

regimes50.0ms

Accuracy

76.2% (0.5b remaining)

Error of 4.7b against oracle of 4.2b and baseline of 6.3b

bsearch31.0ms

Steps
ItersRangePoint
7
0.000209
0.0186
0.00021208908081054686

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03135
13135

end0.0ms

sample728.0ms

Algorithm
intervals
Results
349.0ms3907×pre10240exit
129.0ms8000×body80valid
58.0ms4093×pre80true