Details

Time bar (total: 4.4s)

sample278.0ms

Algorithm
intervals
Results
11.0ms256×body80valid
7.0ms273×body80nan

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0166
1196
2216
3216

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(atan (sqrt (/ (- 1.0 x) (+ 1.0 x))))
0.0b
(sqrt (/ (- 1.0 x) (+ 1.0 x)))
0.0b
(/ (- 1.0 x) (+ 1.0 x))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
64×*-un-lft-identity
45×add-sqr-sqrt
41×times-frac
26×sqrt-prod
24×add-cube-cbrt
11×distribute-lft-out
distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
pow1 associate-/r* associate-/r/
add-log-exp
rem-sqrt-square flip3-+ flip-+ div-inv associate-/l/
cbrt-undiv flip3-- frac-2neg sqrt-pow1 pow1/2 sqrt-div div-sub div-exp clear-num flip--
Counts
3 → 91
Calls
3 calls:
1.0ms
(atan (sqrt (/ (- 1.0 x) (+ 1.0 x))))
7.0ms
(sqrt (/ (- 1.0 x) (+ 1.0 x)))
10.0ms
(/ (- 1.0 x) (+ 1.0 x))

series143.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(atan (sqrt (/ (- 1.0 x) (+ 1.0 x))))
89.0ms
(sqrt (/ (- 1.0 x) (+ 1.0 x)))
51.0ms
(/ (- 1.0 x) (+ 1.0 x))

simplify39.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0354753
11071709
25001690

prune227.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x x) (* 1.0 x))
0.0b
(atan (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))))
0.0b
(sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))
0.0b
(* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
88×*-un-lft-identity
51×associate-*l*
46×times-frac
43×add-sqr-sqrt
25×distribute-lft-out
20×add-cube-cbrt unpow-prod-down cube-prod
pow1 add-exp-log add-cbrt-cube distribute-lft-out-- difference-of-squares
add-log-exp
flip3-+ sqrt-div sum-cubes flip-+
frac-times associate-*r/
associate-*r*
sqrt-pow1 pow-prod-down associate-*l/ prod-exp associate-/r/ cbrt-unprod unswap-sqr
cbrt-undiv distribute-rgt-in sub-neg flip3-- distribute-rgt-out-- distribute-lft-in pow1/2 diff-log div-exp sqrt-prod *-commutative flip-- div-inv
Counts
4 → 112
Calls
4 calls:
4.0ms
(- (* x x) (* 1.0 x))
1.0ms
(atan (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))))
21.0ms
(sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))
26.0ms
(* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))

series271.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(- (* x x) (* 1.0 x))
7.0ms
(atan (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))))
136.0ms
(sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))
69.0ms
(* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))

simplify83.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07081540
128771416
250031413

prune365.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(atan (sqrt (/ (* (+ (* x (- x 1.0)) (* 1.0 1.0)) (- 1.0 x)) (+ (pow 1.0 3) (pow x 3)))))
0.0b
(sqrt (/ (* (+ (* x (- x 1.0)) (* 1.0 1.0)) (- 1.0 x)) (+ (pow 1.0 3) (pow x 3))))
0.0b
(* x (- x 1.0))
0.0b
(* (+ (* x (- x 1.0)) (* 1.0 1.0)) (- 1.0 x))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
15×sqrt-prod
10×add-cube-cbrt associate-*r*
pow1 times-frac
add-exp-log add-cbrt-cube
associate-*l*
distribute-lft-out
distribute-rgt-in frac-times sub-neg unpow-prod-down flip3-- distribute-lft-in flip3-+ cube-prod associate-*r/ flip-- flip-+ add-log-exp
pow-prod-down associate-*l/ prod-exp associate-/r/ *-commutative cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
rem-sqrt-square sqrt-pow1 pow1/2 sqrt-div sum-cubes div-inv
Counts
4 → 91
Calls
4 calls:
1.0ms
(atan (sqrt (/ (* (+ (* x (- x 1.0)) (* 1.0 1.0)) (- 1.0 x)) (+ (pow 1.0 3) (pow x 3)))))
18.0ms
(sqrt (/ (* (+ (* x (- x 1.0)) (* 1.0 1.0)) (- 1.0 x)) (+ (pow 1.0 3) (pow x 3))))
7.0ms
(* x (- x 1.0))
12.0ms
(* (+ (* x (- x 1.0)) (* 1.0 1.0)) (- 1.0 x))

series223.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(atan (sqrt (/ (* (+ (* x (- x 1.0)) (* 1.0 1.0)) (- 1.0 x)) (+ (pow 1.0 3) (pow x 3)))))
136.0ms
(sqrt (/ (* (+ (* x (- x 1.0)) (* 1.0 1.0)) (- 1.0 x)) (+ (pow 1.0 3) (pow x 3))))
39.0ms
(* x (- x 1.0))
41.0ms
(* (+ (* x (- x 1.0)) (* 1.0 1.0)) (- 1.0 x))

simplify79.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05351020
12579940
25002940

prune305.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* (- 1.0 x) (+ (pow (* 1.0 1.0) 3) (pow (- (* x x) (* 1.0 x)) 3))))
0.0b
(/ (sqrt (* (- 1.0 x) (+ (pow (* 1.0 1.0) 3) (pow (- (* x x) (* 1.0 x)) 3)))) (sqrt (* (+ (pow 1.0 3) (pow x 3)) (+ (* (* 1.0 1.0) (* 1.0 1.0)) (- (* (- (* x x) (* 1.0 x)) (- (* x x) (* 1.0 x))) (* (* 1.0 1.0) (- (* x x) (* 1.0 x))))))))
0.1b
(* (- (* x x) (* 1.0 x)) (- (* x x) (* 1.0 x)))
0.1b
(pow (- (* x x) (* 1.0 x)) 3)

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
24×sqrt-div
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
16×frac-times times-frac
15×pow1
13×flip3-- flip--
12×flip3-+ flip-+
11×sqrt-prod
add-exp-log add-cbrt-cube
associate-*r/ associate-*l/ associate-/r/ associate-/l/
distribute-rgt-out--
unpow-prod-down cube-prod swap-sqr associate-*r* associate-*l* associate-/r* associate-/l* add-log-exp
pow-unpow
cube-div distribute-rgt-in sub-neg distribute-lft-in sqrt-pow1 pow-prod-down
cbrt-undiv pow2 cube-mult pow-to-exp sqrt-undiv pow-pow frac-2neg pow-plus pow1/2 unpow3 div-exp pow-exp prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv rem-cube-cbrt unswap-sqr sqr-pow
Counts
4 → 139
Calls
4 calls:
15.0ms
(sqrt (* (- 1.0 x) (+ (pow (* 1.0 1.0) 3) (pow (- (* x x) (* 1.0 x)) 3))))
47.0ms
(/ (sqrt (* (- 1.0 x) (+ (pow (* 1.0 1.0) 3) (pow (- (* x x) (* 1.0 x)) 3)))) (sqrt (* (+ (pow 1.0 3) (pow x 3)) (+ (* (* 1.0 1.0) (* 1.0 1.0)) (- (* (- (* x x) (* 1.0 x)) (- (* x x) (* 1.0 x))) (* (* 1.0 1.0) (- (* x x) (* 1.0 x))))))))
10.0ms
(* (- (* x x) (* 1.0 x)) (- (* x x) (* 1.0 x)))
5.0ms
(pow (- (* x x) (* 1.0 x)) 3)

series382.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(sqrt (* (- 1.0 x) (+ (pow (* 1.0 1.0) 3) (pow (- (* x x) (* 1.0 x)) 3))))
215.0ms
(/ (sqrt (* (- 1.0 x) (+ (pow (* 1.0 1.0) 3) (pow (- (* x x) (* 1.0 x)) 3)))) (sqrt (* (+ (pow 1.0 3) (pow x 3)) (+ (* (* 1.0 1.0) (* 1.0 1.0)) (- (* (- (* x x) (* 1.0 x)) (- (* x x) (* 1.0 x))) (* (* 1.0 1.0) (- (* x x) (* 1.0 x))))))))
31.0ms
(* (- (* x x) (* 1.0 x)) (- (* x x) (* 1.0 x)))
51.0ms
(pow (- (* x x) (* 1.0 x)) 3)

simplify172.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (143.0ms)

IterNodesCost
08273405
145643163
250023152

prune774.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes31.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04040
14040

end0.0ms

sample707.0ms

Algorithm
intervals
Results
310.0ms8000×body80valid
205.0ms7953×body80nan