Details

Time bar (total: 9.7s)

sample24.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
6.0ms243×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1397
2617
3807
41057
51147
61147

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ x 1.0) (* 4.0 (sqrt x)))
0.0b
(* 6.0 (- x 1.0))
0.1b
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×add-exp-log add-cbrt-cube
*-un-lft-identity
add-log-exp
add-cube-cbrt
pow1 associate-*r*
associate-*r/
times-frac associate-*l* associate-/r* sum-log
cbrt-undiv distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ div-exp prod-exp associate-/r/ flip-- cbrt-unprod flip-+ associate-/l/
+-commutative associate-+l+ frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 64
Calls
3 calls:
13.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
10.0ms
(* 6.0 (- x 1.0))
23.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series156.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
39.0ms
(* 6.0 (- x 1.0))
79.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

simplify50.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0377495
11642421
25001420

prune146.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ x 1.0) (* 4.0 (sqrt x)))
0.0b
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
0.0b
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
103×add-sqr-sqrt *-un-lft-identity
71×add-cube-cbrt
26×associate-/r*
16×distribute-lft-out-- difference-of-squares
11×associate-/r/
10×add-exp-log add-cbrt-cube
add-log-exp
div-inv associate-/l*
flip3-- flip--
cbrt-undiv div-exp
pow1 sum-log
frac-2neg flip3-+ clear-num flip-+ associate-/l/
+-commutative associate-+l+
Counts
3 → 154
Calls
3 calls:
13.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
36.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
23.0ms
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

series187.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
72.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
80.0ms
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

simplify81.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06412084
129421986
250011984

prune370.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))
0.1b
(/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- x 1.0))
0.1b
(/ 6.0 (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
0.1b
(/ (/ 6.0 (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))) (/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- x 1.0)))

rewrite236.0ms

Algorithm
rewrite-expression-head
Rules
2328×times-frac
1260×add-sqr-sqrt
1259×*-un-lft-identity
945×add-cube-cbrt
741×sqrt-prod
157×distribute-lft-out-- difference-of-squares
129×associate-/r/
80×sqrt-div
65×div-inv
47×associate-/r*
40×flip3-+ flip-+
33×associate-/l*
26×flip3-- flip--
20×add-exp-log add-cbrt-cube
10×cbrt-undiv div-exp
pow1
add-log-exp
frac-2neg clear-num associate-/l/
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 1057
Calls
4 calls:
17.0ms
(sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))
27.0ms
(/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- x 1.0))
17.0ms
(/ 6.0 (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
74.0ms
(/ (/ 6.0 (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))) (/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- x 1.0)))

series421.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))
143.0ms
(/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- x 1.0))
120.0ms
(/ 6.0 (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
85.0ms
(/ (/ 6.0 (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))) (/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- x 1.0)))

simplify289.0ms

Algorithm
egg-herbie
Counts
1069 → 1069
Iterations

Useful iterations: 1 (55.0ms)

IterNodesCost
0353330591
1500129531

prune1.9s

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sqrt 6.0) (+ (* 1.0 (+ 1.0 x)) (pow x 2)))
0.1b
(/ (sqrt 6.0) (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- (pow x 3) (pow 1.0 3))))
4.9b
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- (pow x 3) (pow 1.0 3)))
16.6b
(* (/ (sqrt 6.0) (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- (pow x 3) (pow 1.0 3)))) (/ (sqrt 6.0) (+ (* 1.0 (+ 1.0 x)) (pow x 2))))

rewrite637.0ms

Algorithm
rewrite-expression-head
Rules
2086×times-frac
1856×add-sqr-sqrt
1196×*-un-lft-identity
766×add-cube-cbrt
688×difference-of-squares
521×sqrt-prod
516×unpow-prod-down cube-prod
491×associate-*l*
344×sqr-pow
215×distribute-lft-out--
109×associate-/r*
43×difference-cubes
34×add-exp-log associate-/r/ add-cbrt-cube
24×associate-*r*
18×div-inv
15×associate-/l* unswap-sqr
14×cbrt-undiv flip3-- div-exp flip--
pow1 prod-exp cbrt-unprod
add-log-exp
frac-2neg flip3-+ clear-num flip-+
associate-/l/
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 1302
Calls
4 calls:
13.0ms
(/ (sqrt 6.0) (+ (* 1.0 (+ 1.0 x)) (pow x 2)))
60.0ms
(/ (sqrt 6.0) (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- (pow x 3) (pow 1.0 3))))
61.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- (pow x 3) (pow 1.0 3)))
367.0ms
(* (/ (sqrt 6.0) (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- (pow x 3) (pow 1.0 3)))) (/ (sqrt 6.0) (+ (* 1.0 (+ 1.0 x)) (pow x 2))))

series491.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(/ (sqrt 6.0) (+ (* 1.0 (+ 1.0 x)) (pow x 2)))
128.0ms
(/ (sqrt 6.0) (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- (pow x 3) (pow 1.0 3))))
69.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- (pow x 3) (pow 1.0 3)))
202.0ms
(* (/ (sqrt 6.0) (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- (pow x 3) (pow 1.0 3)))) (/ (sqrt 6.0) (+ (* 1.0 (+ 1.0 x)) (pow x 2))))

simplify275.0ms

Algorithm
egg-herbie
Counts
1314 → 1314
Iterations

Useful iterations: 1 (49.0ms)

IterNodesCost
0286826106
1500125704

prune3.5s

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes43.0ms

Accuracy

0% (0.0b 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
0147
1147

end0.0ms

sample615.0ms

Algorithm
intervals
Results
228.0ms8000×body80valid
205.0ms8106×body80nan