Details

Time bar (total: 5.0s)

sample48.0ms

Algorithm
intervals
Results
12.0ms194×body80valid
7.0ms30×body2560valid
6.0ms100×body80nan
6.0ms28×body1280valid
2.0ms14×body640valid
1.0msbody320valid
1.0msbody5120valid
1.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* 3.0 a) c)
1.2b
(- (* b b) (* (* 3.0 a) c))
1.9b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
23.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×pow1 add-sqr-sqrt fma-def add-log-exp
add-exp-log add-cube-cbrt add-cbrt-cube
expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u
distribute-lft-neg-in associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*l* prod-diff neg-log *-commutative flip-+
Counts
4 → 80
Calls
4 calls:
6.0ms
(* (* 3.0 a) c)
3.0ms
(- (* b b) (* (* 3.0 a) c))
15.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series205.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
45.0ms
(- (* b b) (* (* 3.0 a) c))
72.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify46.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0337530
11440479
25002467

prune253.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 12.3b

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt c)
1.2b
(- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))
1.9b
(+ (- b) (sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))))
23.0b
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×add-sqr-sqrt fma-def add-log-exp
add-cube-cbrt
pow1
add-exp-log expm1-log1p-u distribute-rgt-neg-in add-cbrt-cube log1p-expm1-u
cbrt-prod distribute-lft-neg-in sqrt-prod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg pow1/3 diff-log prod-diff neg-log flip-+
Counts
4 → 73
Calls
4 calls:
0.0ms
(cbrt c)
3.0ms
(- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))
14.0ms
(+ (- b) (sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))))
4.0ms
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c))))

series411.0ms

Counts
4 → 12
Calls
4 calls:
171.0ms
(cbrt c)
59.0ms
(- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))
93.0ms
(+ (- b) (sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))))
87.0ms
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (cbrt c))))

simplify44.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0308850
11236747
25001690

prune280.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 12.3b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt c)
1.2b
(- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c)))))
1.9b
(+ (- b) (sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c)))))))
23.0b
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c))))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×add-sqr-sqrt fma-def add-log-exp
add-cube-cbrt
pow1
add-exp-log expm1-log1p-u distribute-rgt-neg-in add-cbrt-cube log1p-expm1-u
cbrt-prod distribute-lft-neg-in sqrt-prod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg pow1/3 diff-log prod-diff neg-log flip-+
Counts
4 → 73
Calls
4 calls:
0.0ms
(cbrt c)
3.0ms
(- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c)))))
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c)))))))
4.0ms
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c))))))

series429.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(cbrt c)
61.0ms
(- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c)))))
101.0ms
(+ (- b) (sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c)))))))
88.0ms
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c))))))

simplify53.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03201340
113501203
250021083

prune314.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 12.3b

localize29.0ms

Local error

Found 4 expressions with local error:

1.9b
(+ (- b) (sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c)))))))
23.0b
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c))))))
23.0b
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c))))))
23.0b
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c))))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
13×add-sqr-sqrt
10×add-cube-cbrt fma-def
sqrt-prod
add-log-exp
pow1
sqrt-div
add-exp-log expm1-log1p-u distribute-rgt-neg-in add-cbrt-cube log1p-expm1-u
distribute-lft-neg-in rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 flip3-+ neg-log flip-+
Counts
4 → 78
Calls
4 calls:
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c)))))))
4.0ms
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c))))))
4.0ms
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c))))))
4.0ms
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c))))))

series354.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(+ (- b) (sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c)))))))
86.0ms
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c))))))
86.0ms
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c))))))
87.0ms
(sqrt (- (* b b) (* (* (* 3.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c))))))

simplify46.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
02491688
110381614
250021599

prune431.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 12.3b

regimes298.0ms

Accuracy

84.8% (3.4b remaining)

Error of 15.5b against oracle of 12.1b and baseline of 34.4b

bsearch139.0ms

Steps
ItersRangePoint
10
7.948130497386624e-31
1.6081733637561173e-14
5.082297393178073e-29
9
-2.2154171522802282e+61
-2.0511250318755918e+53
-2.0697892322852844e+57

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03727
13727

end0.0ms

sample1.4s

Algorithm
intervals
Results
394.0ms5935×body80valid
260.0ms1018×body2560valid
188.0ms2907×body80nan
186.0ms882×body1280valid
74.0ms435×body640valid
37.0ms116×body5120valid
34.0ms252×body320valid
10.0ms106×body160valid