Details

Time bar (total: 3.0s)

sample26.0ms

Algorithm
intervals
Results
9.0ms305×body80valid
1.0msbody640valid
0.0msbody320valid
0.0msbody1280valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
0184
1343
2523
3603
4603

prune15.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(* d1 (+ (+ 3.0 d2) d3))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt associate-*r*
pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube distribute-lft-out
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
8.0ms
(* d1 (+ (+ 3.0 d2) d3))

series29.0ms

Counts
1 → 3
Calls
1 calls:
28.0ms
(* d1 (+ (+ 3.0 d2) d3))

simplify84.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0149120
1720103
23972103
35002103

prune74.0ms

Filtered
27 candidates to 16 candidates (59.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New24327
Fresh101
Picked011
Done000
Total25429

Merged error: 0b

Counts
29 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* d1 (+ 3.0 d2))
0.0b
(+ (* d1 (+ 3.0 d2)) (* d1 d3))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube add-log-exp
associate-*l*
distribute-rgt-in associate-+l+ distribute-lft-in flip3-+ associate-*r/ flip-+ distribute-lft-out
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 37
Calls
2 calls:
5.0ms
(* d1 (+ 3.0 d2))
6.0ms
(+ (* d1 (+ 3.0 d2)) (* d1 d3))

series69.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(* d1 (+ 3.0 d2))
38.0ms
(+ (* d1 (+ 3.0 d2)) (* d1 d3))

simplify34.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0216183
1975162
25001160

prune117.0ms

Filtered
43 candidates to 28 candidates (65.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New42143
Fresh112
Picked011
Done011
Total43447

Merged error: 0b

Counts
47 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 3.0 3.0) (* d2 d2))
0.0b
(+ (/ (* d1 (- (* 3.0 3.0) (* d2 d2))) (- 3.0 d2)) (* d1 d3))
5.4b
(* d1 (- (* 3.0 3.0) (* d2 d2)))
7.7b
(/ (* d1 (- (* 3.0 3.0) (* d2 d2))) (- 3.0 d2))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×*-un-lft-identity
11×add-exp-log add-cbrt-cube
add-cube-cbrt add-log-exp
pow1
times-frac associate-/r*
flip3-- associate-*r/ associate-*r* flip-- difference-of-squares
sub-neg associate-*l*
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ distribute-lft-out--
+-commutative frac-2neg flip3-+ diff-log pow-prod-down clear-num sum-log *-commutative flip-+ div-inv associate-/l* unswap-sqr
Counts
4 → 78
Calls
4 calls:
3.0ms
(- (* 3.0 3.0) (* d2 d2))
10.0ms
(+ (/ (* d1 (- (* 3.0 3.0) (* d2 d2))) (- 3.0 d2)) (* d1 d3))
6.0ms
(* d1 (- (* 3.0 3.0) (* d2 d2)))
9.0ms
(/ (* d1 (- (* 3.0 3.0) (* d2 d2))) (- 3.0 d2))

series267.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (* 3.0 3.0) (* d2 d2))
84.0ms
(+ (/ (* d1 (- (* 3.0 3.0) (* d2 d2))) (- 3.0 d2)) (* d1 d3))
58.0ms
(* d1 (- (* 3.0 3.0) (* d2 d2)))
86.0ms
(/ (* d1 (- (* 3.0 3.0) (* d2 d2))) (- 3.0 d2))

simplify59.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0403655
11899570
25002536

prune265.0ms

Filtered
90 candidates to 64 candidates (71.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New90090
Fresh011
Picked011
Done022
Total90494

Merged error: 0b

Counts
94 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

2.3b
(- (* d3 d3) (* (+ 3.0 d2) d3))
2.8b
(+ (pow (+ 3.0 d2) 3) (pow d3 3))
4.3b
(* d1 (+ (pow (+ 3.0 d2) 3) (pow d3 3)))
31.9b
(/ (* d1 (+ (pow (+ 3.0 d2) 3) (pow d3 3))) (+ (* (+ 3.0 d2) (+ 3.0 d2)) (- (* d3 d3) (* (+ 3.0 d2) d3))))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
26×distribute-lft-out
18×associate-/r/
16×unpow-prod-down flip3-+ cube-prod frac-add flip-+
13×associate-*r*
11×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
flip3-- flip--
frac-times add-cube-cbrt associate-*r/ add-log-exp
pow1
associate-*l/
times-frac associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp sum-cubes cbrt-unprod associate-/l/
+-commutative distribute-rgt-in sub-neg distribute-rgt-out-- frac-2neg distribute-lft-in diff-log pow-prod-down clear-num sum-log *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 107
Calls
4 calls:
4.0ms
(- (* d3 d3) (* (+ 3.0 d2) d3))
13.0ms
(+ (pow (+ 3.0 d2) 3) (pow d3 3))
17.0ms
(* d1 (+ (pow (+ 3.0 d2) 3) (pow d3 3)))
31.0ms
(/ (* d1 (+ (pow (+ 3.0 d2) 3) (pow d3 3))) (+ (* (+ 3.0 d2) (+ 3.0 d2)) (- (* d3 d3) (* (+ 3.0 d2) d3))))

series427.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(- (* d3 d3) (* (+ 3.0 d2) d3))
60.0ms
(+ (pow (+ 3.0 d2) 3) (pow d3 3))
146.0ms
(* d1 (+ (pow (+ 3.0 d2) 3) (pow d3 3)))
192.0ms
(/ (* d1 (+ (pow (+ 3.0 d2) 3) (pow d3 3))) (+ (* (+ 3.0 d2) (+ 3.0 d2)) (- (* d3 d3) (* (+ 3.0 d2) d3))))

simplify111.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
08241527
143521379
250011374

prune415.0ms

Filtered
119 candidates to 78 candidates (65.5%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1190119
Fresh000
Picked011
Done033
Total1194123

Merged error: 0b

Counts
123 → 4

regimes146.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0103
1103

end0.0ms

sample672.0ms

Algorithm
intervals
Results
289.0ms9462×body80valid
20.0ms188×body640valid
13.0ms95×body1280valid
12.0ms144×body320valid
5.0ms87×body160valid

Profiling

Loading profile data...