Details

Time bar (total: 6.1s)

sample70.0ms

Algorithm
intervals
Results
14.0ms196×body80valid
8.0ms21×body2560valid
7.0ms19×body1280valid
6.0ms256×pre80true
2.0msbody640valid
2.0msbody320valid
1.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0279
1349
2389
3409
4419
5419

prune4.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: 13.4b

Counts
2 → 1

localize11.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.6b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
13.6b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
21×add-sqr-sqrt
20×add-cube-cbrt
18×times-frac
15×sqrt-prod
add-log-exp
add-exp-log associate-/r* add-cbrt-cube
pow1
flip3-+ sqrt-div flip-+
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 → 79
Calls
4 calls:
5.0ms
(+ (* (* 4.0 p) p) (* x x))
7.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
11.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series37.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (* (* 4.0 p) p) (* x x))
9.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
12.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
11.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify143.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0278822
11014772
24232757
35001757

prune868.0ms

Filtered
91 candidates to 67 candidates (26.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New791291
Fresh000
Picked101
Done000
Total801292

Merged error: 12.9b

Counts
92 → 12

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))
0.2b
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
3.6b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
13.6b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
24×associate-*r*
22×times-frac
21×*-un-lft-identity
19×add-cube-cbrt
15×sqrt-prod
13×add-exp-log
10×pow1
add-cbrt-cube
sqrt-div add-log-exp
unswap-sqr
flip3-+ prod-exp flip-+
sqrt-pow1 associate-*r/ associate-*l*
pow1/2 div-exp pow-prod-down associate-/r/ cbrt-unprod
cbrt-undiv +-commutative rem-sqrt-square rec-exp 1-exp sum-log un-div-inv *-commutative div-inv
Counts
4 → 88
Calls
4 calls:
4.0ms
(sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))
15.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
3.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series58.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))
9.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
12.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0390900
11684818
25001784

prune646.0ms

Filtered
100 candidates to 73 candidates (27.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New964100
Fresh3811
Picked101
Done000
Total10012112

Merged error: 12.9b

Counts
112 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
3.1b
(log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))))
3.6b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
13.6b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
24×associate-*r*
23×*-un-lft-identity
22×times-frac
21×add-cube-cbrt
15×sqrt-prod
13×add-exp-log
add-cbrt-cube
pow1
add-log-exp
log-pow unswap-sqr
exp-prod sqrt-div prod-exp
log-prod flip3-+ associate-*l* flip-+
div-exp associate-/r/ cbrt-unprod
cbrt-undiv +-commutative rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp associate-*r/ rem-log-exp pow-prod-down sum-log un-div-inv *-commutative div-inv
Counts
4 → 91
Calls
4 calls:
16.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
2.0ms
(log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))))
3.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series58.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
30.0ms
(log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))))
12.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify46.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0399962
11650851
25002816

prune971.0ms

Filtered
103 candidates to 76 candidates (26.2%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New9310103
Fresh7411
Picked101
Done000
Total10114115

Merged error: 12.9b

Counts
115 → 14

localize28.0ms

Local error

Found 4 expressions with local error:

3.5b
(+ (pow 1.0 3) (pow (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))) 3))
4.0b
(* (* x x) (/ 1 (+ (* (* 4.0 p) p) (* x x))))
13.6b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.6b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
26×add-exp-log
19×add-sqr-sqrt
16×*-un-lft-identity add-cbrt-cube
15×associate-*r*
13×add-cube-cbrt
12×prod-exp
11×pow1 times-frac
sqrt-prod cbrt-unprod add-log-exp
flip3-+ sqrt-div div-exp flip-+
pow-prod-down unswap-sqr
cbrt-undiv rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp associate-/r/
+-commutative associate-*r/ associate-*l* sum-log un-div-inv sum-cubes *-commutative div-inv distribute-lft-out
Counts
4 → 86
Calls
4 calls:
10.0ms
(+ (pow 1.0 3) (pow (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))) 3))
13.0ms
(* (* x x) (/ 1 (+ (* (* 4.0 p) p) (* x x))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series37.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(+ (pow 1.0 3) (pow (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))) 3))
8.0ms
(* (* x x) (/ 1 (+ (* (* 4.0 p) p) (* x x))))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify63.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0444869
12116761
25002743

prune1.4s

Filtered
98 candidates to 70 candidates (28.6%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New97198
Fresh01313
Picked011
Done000
Total9715112

Merged error: 12.9b

Counts
112 → 15

regimes315.0ms

Accuracy

0% (0.4b remaining)

Error of 13.5b against oracle of 13.1b and baseline of 13.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03932
13932

end0.0ms

sample1.2s

Algorithm
intervals
Results
300.0ms6020×body80valid
239.0ms790×body2560valid
154.0ms648×body1280valid
121.0ms8000×pre80true
60.0ms322×body640valid
20.0ms132×body320valid
8.0ms88×body160valid

Profiling

Loading profile data...