Details

Time bar (total: 4.9s)

sample61.0ms

Algorithm
intervals
Results
18.0ms190×body80valid
11.0ms24×body2560valid
9.0ms22×body1280valid
6.0ms256×pre80true
3.0ms11×body320valid
2.0msbody640valid
1.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1409
2489
3509
4529
5539
6539

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.4b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* 4.0 p) p) (* x x))
0.0b
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
1.5b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
14.0b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
22×add-sqr-sqrt
21×add-cube-cbrt
18×times-frac
15×sqrt-prod
add-log-exp
add-exp-log associate-/r* add-cbrt-cube
pow1
expm1-log1p-u fma-def flip3-+ sqrt-div flip-+ log1p-expm1-u
associate-/l*
+-commutative sum-log associate-/r/
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv distribute-lft-out
Counts
4 → 91
Calls
4 calls:
6.0ms
(+ (* (* 4.0 p) p) (* x x))
13.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
24.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
10.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series242.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(+ (* (* 4.0 p) p) (* x x))
64.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
84.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
57.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify145.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (136.0ms)

IterNodesCost
0296867
11081815
24584798
35001795

prune320.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 14.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))
0.2b
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
4.4b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
14.0b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
40×times-frac
37×*-un-lft-identity
35×add-cube-cbrt
26×sqrt-prod
24×associate-*r*
17×add-exp-log
11×add-cbrt-cube
pow1
sqrt-div associate-/r* add-log-exp
unswap-sqr
expm1-log1p-u flip3-+ div-exp prod-exp associate-/r/ flip-+ log1p-expm1-u
pow-flip fma-def associate-*l* associate-/l*
cbrt-undiv rec-exp sqrt-pow1 pow1/2 1-exp cbrt-unprod div-inv
+-commutative rem-sqrt-square frac-2neg associate-*r/ pow-prod-down clear-num sum-log un-div-inv *-commutative inv-pow
Counts
4 → 133
Calls
4 calls:
16.0ms
(/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))
32.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
2.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
10.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series252.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))
56.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
76.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
53.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03841256
117101134
250011063

prune334.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 14.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
4.4b
(+ 1.0 (expm1 (log1p (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))
4.4b
(log1p (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
14.0b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
24×*-un-lft-identity associate-*r*
22×times-frac
20×add-cube-cbrt
14×sqrt-prod
13×add-exp-log
add-cbrt-cube
pow1
add-log-exp
expm1-log1p-u unswap-sqr
sqrt-div prod-exp log1p-expm1-u
fma-def flip3-+ associate-*l* flip-+
div-exp associate-/r/ cbrt-unprod
cbrt-undiv +-commutative associate-+r- rem-sqrt-square rec-exp log1p-udef sqrt-pow1 pow1/2 1-exp log1p-expm1 associate-*r/ pow-prod-down sum-log un-div-inv *-commutative div-inv distribute-lft-out expm1-udef
Counts
4 → 97
Calls
4 calls:
33.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
2.0ms
(+ 1.0 (expm1 (log1p (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))
0.0ms
(log1p (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
10.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series416.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
177.0ms
(+ 1.0 (expm1 (log1p (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))
121.0ms
(log1p (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
60.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify45.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0405946
11731837
25001791

prune362.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 5.0b

localize29.0ms

Local error

Found 4 expressions with local error:

14.0b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
14.0b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
14.0b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
25.3b
(fma (pow x 3) (/ 1 (pow (sqrt (+ (* (* 4.0 p) p) (* x x))) 3)) (pow 1.0 3))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
fma-udef
Counts
4 → 61
Calls
4 calls:
10.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
10.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
10.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
0.0ms
(fma (pow x 3) (/ 1 (pow (sqrt (+ (* (* 4.0 p) p) (* x x))) 3)) (pow 1.0 3))

series264.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
60.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
60.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
89.0ms
(fma (pow x 3) (/ 1 (pow (sqrt (+ (* (* 4.0 p) p) (* x x))) 3)) (pow 1.0 3))

simplify59.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0136540
1423512
21726512
35001507

prune372.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 5.0b

regimes94.0ms

Accuracy

0% (8.0b remaining)

Error of 13.8b against oracle of 5.8b and baseline of 13.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02612
12612

end0.0ms

sample1.6s

Algorithm
intervals
Results
552.0ms5995×body80valid
373.0ms819×body2560valid
230.0ms614×body1280valid
164.0ms8000×pre80true
98.0ms326×body640valid
39.0ms166×body320valid
13.0ms80×body160valid