Details

Time bar (total: 5.6s)

sample15.0ms

Algorithm
intervals
Results
4.0ms63×body640valid
3.0ms146×body80valid
2.0ms30×body320valid
1.0ms17×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1124
2124

prune5.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.4b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1.0 (+ x 1.0))
2.4b
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
96×*-un-lft-identity
90×frac-sub
70×associate-/r*
65×add-sqr-sqrt
60×associate-/l*
53×add-cube-cbrt
28×times-frac
20×frac-2neg clear-num
16×distribute-lft-out
distribute-lft-out--
add-exp-log add-cbrt-cube add-log-exp difference-of-squares
div-inv
pow1 associate-/r/
cbrt-undiv sub-neg flip3-- flip3-+ diff-log div-exp flip-- flip-+
Counts
2 → 147
Calls
2 calls:
5.0ms
(/ 1.0 (+ x 1.0))
22.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series89.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(/ 1.0 (+ x 1.0))
63.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

simplify118.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
09471500
145691427
250011424

prune170.0ms

Filtered
153 candidates to 93 candidates (39.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1521153
Fresh000
Picked011
Done000
Total1522154

Merged error: 0.4b

Counts
154 → 2

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (+ x 1.0) (/ x 1.0))
0.4b
(/ (- (- (* (/ x 1.0) 1.0) x) 1.0) (* (+ x 1.0) (/ x 1.0)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
339×*-un-lft-identity
258×times-frac
214×add-sqr-sqrt
125×distribute-lft-out--
119×add-cube-cbrt
117×associate-*r*
61×associate-*l*
42×associate-/r*
36×frac-times
31×associate-/r/
27×associate-/l*
25×difference-of-squares
20×flip3-+ flip-+
18×associate-*r/ unswap-sqr
16×add-exp-log add-cbrt-cube
10×div-inv
clear-num *-commutative distribute-lft-out
frac-2neg
cbrt-undiv div-exp
pow1 associate-*l/ prod-exp un-div-inv cbrt-unprod
div-sub associate-/l/ add-log-exp
associate--l- flip3-- pow-prod-down flip--
Counts
2 → 313
Calls
2 calls:
10.0ms
(* (+ x 1.0) (/ x 1.0))
36.0ms
(/ (- (- (* (/ x 1.0) 1.0) x) 1.0) (* (+ x 1.0) (/ x 1.0)))

series102.0ms

Counts
2 → 6
Calls
2 calls:
64.0ms
(* (+ x 1.0) (/ x 1.0))
38.0ms
(/ (- (- (* (/ x 1.0) 1.0) x) 1.0) (* (+ x 1.0) (/ x 1.0)))

simplify76.0ms

Algorithm
egg-herbie
Counts
319 → 319
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
012163945
150013829

prune625.0ms

Filtered
319 candidates to 187 candidates (41.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3163319
Fresh000
Picked011
Done101
Total3174321

Merged error: 0b

Counts
321 → 4

localize8.0ms

Local error

Found 1 expressions with local error:

0.1b
(/ (/ (- (- (* (/ x 1.0) 1.0) x) 1.0) (/ x 1.0)) (+ x 1.0))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
1195×times-frac
1177×*-un-lft-identity
571×add-sqr-sqrt
439×add-cube-cbrt
330×distribute-lft-out--
126×associate-/l*
105×distribute-lft-out
66×associate-*l* difference-of-squares
47×associate-/r/
42×div-inv
32×associate-/r*
27×associate-/l/
10×add-exp-log add-cbrt-cube
frac-2neg clear-num
cbrt-undiv div-exp
div-sub
pow1 associate--l- flip3-- flip3-+ flip-- flip-+ add-log-exp
Counts
1 → 569
Calls
1 calls:
47.0ms
(/ (/ (- (- (* (/ x 1.0) 1.0) x) 1.0) (/ x 1.0)) (+ x 1.0))

series45.0ms

Counts
1 → 3
Calls
1 calls:
44.0ms
(/ (/ (- (- (* (/ x 1.0) 1.0) x) 1.0) (/ x 1.0)) (+ x 1.0))

simplify130.0ms

Algorithm
egg-herbie
Counts
572 → 572
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
017529033
150018907

prune651.0ms

Filtered
572 candidates to 267 candidates (53.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New5720572
Fresh022
Picked011
Done011
Total5724576

Merged error: 0b

Counts
576 → 4

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (- (* 1.0 1.0) (* x 1.0)))
0.0b
(/ (- (- (* (/ x 1.0) 1.0) x) 1.0) (+ (pow x 3) (pow 1.0 3)))
4.1b
(* (/ (- (- (* (/ x 1.0) 1.0) x) 1.0) (+ (pow x 3) (pow 1.0 3))) (* (+ (* x x) (- (* 1.0 1.0) (* x 1.0))) (/ 1.0 x)))
13.9b
(* (+ (* x x) (- (* 1.0 1.0) (* x 1.0))) (/ 1.0 x))

rewrite325.0ms

Algorithm
rewrite-expression-head
Rules
1149×*-un-lft-identity
1065×frac-times
504×associate-/r*
461×associate-/l*
391×add-sqr-sqrt
279×distribute-lft-out--
258×add-cube-cbrt
238×associate-*r/
233×flip3-+ flip-+
188×pow-unpow sum-cubes
185×associate-*l*
151×times-frac
125×clear-num
124×distribute-lft-out
102×frac-2neg
94×unpow-prod-down
67×associate-*l/
66×associate-/l/
59×associate-*r*
51×difference-of-squares
46×un-div-inv
33×flip3-- flip--
32×add-exp-log add-cbrt-cube
14×unswap-sqr
12×prod-exp cbrt-unprod
11×pow1
add-log-exp
cbrt-undiv div-exp
pow-prod-down associate-/r/ div-inv
*-commutative
associate-+r+ div-sub sum-log
+-commutative associate--l- associate-+r- sub-neg diff-log
Counts
4 → 1027
Calls
4 calls:
32.0ms
(+ (* x x) (- (* 1.0 1.0) (* x 1.0)))
32.0ms
(/ (- (- (* (/ x 1.0) 1.0) x) 1.0) (+ (pow x 3) (pow 1.0 3)))
121.0ms
(* (/ (- (- (* (/ x 1.0) 1.0) x) 1.0) (+ (pow x 3) (pow 1.0 3))) (* (+ (* x x) (- (* 1.0 1.0) (* x 1.0))) (/ 1.0 x)))
42.0ms
(* (+ (* x x) (- (* 1.0 1.0) (* x 1.0))) (/ 1.0 x))

series242.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* x x) (- (* 1.0 1.0) (* x 1.0)))
68.0ms
(/ (- (- (* (/ x 1.0) 1.0) x) 1.0) (+ (pow x 3) (pow 1.0 3)))
94.0ms
(* (/ (- (- (* (/ x 1.0) 1.0) x) 1.0) (+ (pow x 3) (pow 1.0 3))) (* (+ (* x x) (- (* 1.0 1.0) (* x 1.0))) (/ 1.0 x)))
54.0ms
(* (+ (* x x) (- (* 1.0 1.0) (* x 1.0))) (/ 1.0 x))

simplify309.0ms

Algorithm
egg-herbie
Counts
1039 → 1039
Iterations

Useful iterations: 1 (72.0ms)

IterNodesCost
0423824427
1500224192

prune2.0s

Filtered
1039 candidates to 480 candidates (53.8%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New103811039
Fresh101
Picked011
Done022
Total103941043

Merged error: 0b

Counts
1043 → 4

regimes20.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0118
1118

end0.0ms

sample409.0ms

Algorithm
intervals
Results
145.0ms1963×body640valid
82.0ms4199×body80valid
70.0ms1245×body320valid
22.0ms593×body160valid