Details

Time bar (total: 2.3s)

sample37.0ms

Algorithm
intervals
Results
7.0ms256×pre80true
7.0ms246×pre80false
5.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0127
1127

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.5b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

1.0b
(/ x0 (- 1.0 x1))
7.6b
(- (/ x0 (- 1.0 x1)) x0)

rewrite17.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:
5.0ms
(/ x0 (- 1.0 x1))
11.0ms
(- (/ x0 (- 1.0 x1)) x0)

series13.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(/ x0 (- 1.0 x1))
7.0ms
(- (/ x0 (- 1.0 x1)) x0)

simplify61.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
05038590

prune66.0ms

Filtered
44 candidates to 58 candidates (-31.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New56258
Fresh000
Picked101
Done000
Total57259

Merged error: 6.8b

Counts
59 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (- 1.0 x1) (- 1.0 x1))
0.5b
(/ (* x0 (- (/ x0 (* (- 1.0 x1) (- 1.0 x1))) x0)) (+ x0 (/ x0 (- 1.0 x1))))
1.0b
(/ x0 (- 1.0 x1))
6.1b
(- (/ x0 (* (- 1.0 x1) (- 1.0 x1))) x0)

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity
42×add-sqr-sqrt
20×add-cube-cbrt times-frac
13×add-exp-log add-cbrt-cube
11×pow1 distribute-lft-out--
10×difference-of-squares
flip3-- associate-/r* flip--
swap-sqr
add-log-exp
associate-*r* associate-*l*
frac-times associate-*r/ associate-/r/ associate-/l*
cbrt-undiv sub-neg div-exp
distribute-rgt-in frac-2neg distribute-lft-in associate-*l/ prod-exp clear-num cbrt-unprod div-inv associate-/l/ distribute-lft-out
pow2 flip3-+ pow-plus diff-log pow-prod-down pow-sqr *-commutative pow-prod-up flip-+ unswap-sqr
Counts
4 → 124
Calls
4 calls:
9.0ms
(* (- 1.0 x1) (- 1.0 x1))
24.0ms
(/ (* x0 (- (/ x0 (* (- 1.0 x1) (- 1.0 x1))) x0)) (+ x0 (/ x0 (- 1.0 x1))))
5.0ms
(/ x0 (- 1.0 x1))
13.0ms
(- (/ x0 (* (- 1.0 x1) (- 1.0 x1))) x0)

series48.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(* (- 1.0 x1) (- 1.0 x1))
24.0ms
(/ (* x0 (- (/ x0 (* (- 1.0 x1) (- 1.0 x1))) x0)) (+ x0 (/ x0 (- 1.0 x1))))
6.0ms
(/ x0 (- 1.0 x1))
16.0ms
(- (/ x0 (* (- 1.0 x1) (- 1.0 x1))) x0)

simplify50.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
050171733

prune179.0ms

Filtered
93 candidates to 136 candidates (-46.2%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1342136
Fresh101
Picked101
Done000
Total1362138

Merged error: 5.4b

Counts
138 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ x0 (/ x0 (- 1.0 x1)))
0.5b
(/ (* x0 (- (/ x0 (+ 1.0 (- (* x1 x1) (* x1 2.0)))) x0)) (+ x0 (/ x0 (- 1.0 x1))))
1.0b
(/ x0 (- 1.0 x1))
6.1b
(- (/ x0 (+ 1.0 (- (* x1 x1) (* x1 2.0)))) x0)

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
29×add-sqr-sqrt
20×times-frac
16×add-cube-cbrt
11×add-exp-log add-cbrt-cube
associate-/r*
add-log-exp
difference-of-squares
distribute-lft-out--
pow1 associate-/r/ associate-/l*
cbrt-undiv flip3-- div-exp flip-- distribute-lft-out
frac-2neg flip3-+ associate-*r/ clear-num flip-+ div-inv associate-/l/
+-commutative sub-neg diff-log prod-exp sum-log cbrt-unprod
Counts
4 → 91
Calls
4 calls:
8.0ms
(+ x0 (/ x0 (- 1.0 x1)))
22.0ms
(/ (* x0 (- (/ x0 (+ 1.0 (- (* x1 x1) (* x1 2.0)))) x0)) (+ x0 (/ x0 (- 1.0 x1))))
5.0ms
(/ x0 (- 1.0 x1))
11.0ms
(- (/ x0 (+ 1.0 (- (* x1 x1) (* x1 2.0)))) x0)

series60.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ x0 (/ x0 (- 1.0 x1)))
28.0ms
(/ (* x0 (- (/ x0 (+ 1.0 (- (* x1 x1) (* x1 2.0)))) x0)) (+ x0 (/ x0 (- 1.0 x1))))
6.0ms
(/ x0 (- 1.0 x1))
20.0ms
(- (/ x0 (+ 1.0 (- (* x1 x1) (* x1 2.0)))) x0)

simplify63.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049491517
149491517

prune127.0ms

Filtered
80 candidates to 103 candidates (-28.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1012103
Fresh101
Picked101
Done000
Total1032105

Merged error: 4.4b

Counts
105 → 2

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(* x1 (- x1 2.0))
1.0b
(/ x0 (- 1.0 x1))
5.0b
(log (exp (- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)))
6.1b
(- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
32×*-un-lft-identity
18×add-cube-cbrt
17×times-frac
difference-of-squares
add-exp-log add-cbrt-cube
pow1 log-pow distribute-lft-out--
exp-prod add-log-exp
log-prod associate-*r* associate-/r*
sub-neg
flip3-- associate-*l* flip-- associate-/l*
distribute-rgt-in distribute-lft-in associate-*r/ exp-sum associate-/r/
cbrt-undiv log-div frac-2neg exp-diff diff-log div-exp rem-log-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 99
Calls
4 calls:
8.0ms
(* x1 (- x1 2.0))
5.0ms
(/ x0 (- 1.0 x1))
9.0ms
(log (exp (- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)))
9.0ms
(- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)

series46.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* x1 (- x1 2.0))
6.0ms
(/ x0 (- 1.0 x1))
18.0ms
(log (exp (- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)))
18.0ms
(- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)

simplify48.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049801180
149801180

prune154.0ms

Filtered
79 candidates to 111 candidates (-40.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1092111
Fresh101
Picked101
Done000
Total1112113

Merged error: 3.4b

Counts
113 → 2

regimes59.0ms

Accuracy

100% (0.0b remaining)

Error of 3.4b against oracle of 3.4b and baseline of 4.5b

bsearch14.0ms

Steps
ItersRangePoint
7
0.000209
0.0186
0.00021208908081054686

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03970
13970

end0.0ms

sample1.1s

Algorithm
intervals
Results
213.0ms8080×pre80false
211.0ms8000×pre80true
156.0ms8000×body80valid

Profiling

Loading profile data...