Details

Time bar (total: 6.4s)

sample50.0ms

Algorithm
intervals
Results
11.0ms196×body80valid
7.0ms21×body2560valid
5.0ms19×body1280valid
5.0ms256×pre80true
1.0msbody640valid
1.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

localize12.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)))

rewrite34.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))))
15.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
4.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series34.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)))))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify147.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0278822
11014772
24232757
35001757

prune679.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

localize16.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)))

rewrite27.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:
3.0ms
(sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))
14.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
2.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series61.0ms

Counts
4 → 12
Calls
4 calls:
34.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)))))
11.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
7.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify45.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0390900
11684818
25001784

prune636.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

localize19.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)))

rewrite25.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:
13.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))))))))))
2.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series60.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
29.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)))

simplify51.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0399962
11650873
25001845

prune1.1s

Filtered
103 candidates to 81 candidates (21.4%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New9310103
Fresh7411
Picked101
Done000
Total10114115

Merged error: 12.9b

Counts
115 → 14

localize29.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)))

rewrite35.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))
12.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)))

series36.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)))

simplify62.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0444869
12116761
25002743

prune1.6s

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

regimes342.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03932
13932

end0.0ms

sample1.3s

Algorithm
intervals
Results
346.0ms6020×body80valid
262.0ms790×body2560valid
173.0ms648×body1280valid
135.0ms8000×pre80true
69.0ms322×body640valid
23.0ms132×body320valid
9.0ms88×body160valid

Profiling

Loading profile data...