Details

Time bar (total: 2.8s)

sample22.0ms

Algorithm
intervals
Results
11.0ms267×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1157

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.5b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* c c) (* d d))
1.0b
(+ (* a c) (* b d))
26.1b
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-log-exp
add-exp-log add-cbrt-cube
flip3-+ flip-+
pow1 associate-/r* associate-/l*
+-commutative sum-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
3 → 53
Calls
3 calls:
3.0ms
(+ (* c c) (* d d))
4.0ms
(+ (* a c) (* b d))
8.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

series143.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ (* c c) (* d d))
32.0ms
(+ (* a c) (* b d))
82.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

simplify133.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0272527
11164479
24437477
35002477

prune160.0ms

Filtered
62 candidates to 49 candidates (79.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New55762
Fresh000
Picked011
Done000
Total55863

Merged error: 25.8b

Counts
63 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (* a c) (* b d))
14.3b
(/ (+ (* a c) (* b d)) (sqrt (+ (* c c) (* d d))))
29.3b
(sqrt (+ (* c c) (* d d)))
29.3b
(sqrt (+ (* c c) (* d d)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×times-frac sqrt-prod
pow1 add-exp-log sqrt-div associate-/r* add-cbrt-cube add-log-exp
flip3-+ flip-+
associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 84
Calls
4 calls:
3.0ms
(+ (* a c) (* b d))
9.0ms
(/ (+ (* a c) (* b d)) (sqrt (+ (* c c) (* d d))))
3.0ms
(sqrt (+ (* c c) (* d d)))
3.0ms
(sqrt (+ (* c c) (* d d)))

series210.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (* a c) (* b d))
105.0ms
(/ (+ (* a c) (* b d)) (sqrt (+ (* c c) (* d d))))
37.0ms
(sqrt (+ (* c c) (* d d)))
35.0ms
(sqrt (+ (* c c) (* d d)))

simplify83.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0273893
1868840
22679828
35002828

prune234.0ms

Filtered
96 candidates to 74 candidates (77.1%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New92496
Fresh156
Picked011
Done011
Total9311104

Merged error: 23.3b

Counts
104 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.6b
(/ 1 (/ (+ (* c c) (* d d)) (+ (* a c) (* b d))))
1.0b
(+ (* a c) (* b d))
25.8b
(/ (+ (* c c) (* d d)) (+ (* a c) (* b d)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
56×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×associate-/r*
17×add-exp-log
11×associate-/r/ add-cbrt-cube
flip3-+ div-exp flip-+ add-log-exp
div-inv associate-/l*
pow1
cbrt-undiv
+-commutative rec-exp frac-2neg 1-exp clear-num sum-log associate-/l/
pow-flip inv-pow
Counts
4 → 137
Calls
4 calls:
3.0ms
(+ (* c c) (* d d))
9.0ms
(/ 1 (/ (+ (* c c) (* d d)) (+ (* a c) (* b d))))
3.0ms
(+ (* a c) (* b d))
11.0ms
(/ (+ (* c c) (* d d)) (+ (* a c) (* b d)))

series250.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (* c c) (* d d))
133.0ms
(/ 1 (/ (+ (* c c) (* d d)) (+ (* a c) (* b d))))
37.0ms
(+ (* a c) (* b d))
50.0ms
(/ (+ (* c c) (* d d)) (+ (* a c) (* b d)))

simplify69.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05181819
126321654
250011567

prune239.0ms

Filtered
149 candidates to 86 candidates (57.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1481149
Fresh178
Picked011
Done112
Total15010160

Merged error: 23.3b

Counts
160 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.6b
(/ 1 (+ (* c c) (* d d)))
1.0b
(+ (* a c) (* b d))
26.0b
(* (+ (* a c) (* b d)) (/ 1 (+ (* c c) (* d d))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
21×*-un-lft-identity
20×add-cube-cbrt times-frac
17×add-exp-log
15×associate-*r*
11×add-cbrt-cube
add-log-exp
pow1
flip3-+ flip-+
div-exp prod-exp associate-/r/
associate-*l* associate-/r* associate-/l* unswap-sqr
cbrt-undiv +-commutative frac-times rec-exp 1-exp associate-*l/ sum-log cbrt-unprod div-inv
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
4 → 97
Calls
4 calls:
3.0ms
(+ (* c c) (* d d))
5.0ms
(/ 1 (+ (* c c) (* d d)))
3.0ms
(+ (* a c) (* b d))
11.0ms
(* (+ (* a c) (* b d)) (/ 1 (+ (* c c) (* d d))))

series177.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* c c) (* d d))
39.0ms
(/ 1 (+ (* c c) (* d d)))
32.0ms
(+ (* a c) (* b d))
80.0ms
(* (+ (* a c) (* b d)) (/ 1 (+ (* c c) (* d d))))

simplify55.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0393851
12037747
25003718

prune173.0ms

Filtered
109 candidates to 68 candidates (62.4%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1081109
Fresh167
Picked011
Done022
Total10910119

Merged error: 23.3b

Counts
119 → 10

regimes139.0ms

Accuracy

0% (2.9b remaining)

Error of 25.7b against oracle of 22.8b and baseline of 25.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01713
11713

end0.0ms

sample591.0ms

Algorithm
intervals
Results
372.0ms8463×body80valid

Profiling

Loading profile data...