Details

Time bar (total: 14.3s)

sample83.0ms

Algorithm
intervals
Results
18.0ms205×body80valid
15.0ms31×body2560valid
12.0ms31×body1280valid
7.0ms89×body80nan
4.0ms12×body640valid
3.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify115.0ms

Counts
1 → 1
Iterations
IterNodes
done164
6164
5160
4153
3121
264
129
014

prune18.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.3b

localize48.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (* (- a) c) 4.0 (* b b))
0.1b
(/ (+ b (sqrt (fma (* (- a) c) 4.0 (* b b)))) (* 2.0 a))
0.7b
(+ b (sqrt (fma (* (- a) c) 4.0 (* b b))))
19.5b
(sqrt (fma (* (- a) c) 4.0 (* b b)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
add-sqr-sqrt add-cbrt-cube add-exp-log
add-cube-cbrt
add-log-exp
pow1
expm1-log1p-u times-frac log1p-expm1-u associate-/l*
fma-def sqrt-prod distribute-lft-out
cbrt-undiv flip3-+ div-exp flip-+ associate-/l/
+-commutative rem-sqrt-square clear-num associate-/r* sum-log frac-2neg sqrt-pow1 pow1/2 prod-exp cbrt-unprod fma-udef div-inv
Counts
4 → 69
Calls
4 calls:
0.0ms
(fma (* (- a) c) 4.0 (* b b))
29.0ms
(/ (+ b (sqrt (fma (* (- a) c) 4.0 (* b b)))) (* 2.0 a))
12.0ms
(+ b (sqrt (fma (* (- a) c) 4.0 (* b b))))
3.0ms
(sqrt (fma (* (- a) c) 4.0 (* b b)))

series518.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(fma (* (- a) c) 4.0 (* b b))
157.0ms
(/ (+ b (sqrt (fma (* (- a) c) 4.0 (* b b)))) (* 2.0 a))
118.0ms
(+ b (sqrt (fma (* (- a) c) 4.0 (* b b))))
145.0ms
(sqrt (fma (* (- a) c) 4.0 (* b b)))

simplify753.0ms

Counts
81 → 81
Iterations
IterNodes
done5000
21068
1305
0124

prune666.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 4.2b

localize52.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* a (* (- c) 4.0)) (* b b))
0.1b
(/ (+ b (sqrt (+ (* a (* (- c) 4.0)) (* b b)))) (* 2.0 a))
0.7b
(+ b (sqrt (+ (* a (* (- c) 4.0)) (* b b))))
19.5b
(sqrt (+ (* a (* (- c) 4.0)) (* b b)))

rewrite320.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
add-sqr-sqrt add-cbrt-cube add-exp-log
add-cube-cbrt add-log-exp
pow1
expm1-log1p-u fma-def flip3-+ times-frac flip-+ log1p-expm1-u associate-/l*
sqrt-prod distribute-lft-out
cbrt-undiv +-commutative sum-log sqrt-div div-exp associate-/l/
rem-sqrt-square clear-num associate-/r* frac-2neg sqrt-pow1 pow1/2 prod-exp cbrt-unprod div-inv
Counts
4 → 75
Calls
4 calls:
32.0ms
(+ (* a (* (- c) 4.0)) (* b b))
193.0ms
(/ (+ b (sqrt (+ (* a (* (- c) 4.0)) (* b b)))) (* 2.0 a))
44.0ms
(+ b (sqrt (+ (* a (* (- c) 4.0)) (* b b))))
24.0ms
(sqrt (+ (* a (* (- c) 4.0)) (* b b)))

series483.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(+ (* a (* (- c) 4.0)) (* b b))
132.0ms
(/ (+ b (sqrt (+ (* a (* (- c) 4.0)) (* b b)))) (* 2.0 a))
139.0ms
(+ b (sqrt (+ (* a (* (- c) 4.0)) (* b b))))
131.0ms
(sqrt (+ (* a (* (- c) 4.0)) (* b b)))

simplify1.2s

Counts
87 → 87
Iterations
IterNodes
done5002
21723
1396
0141

prune674.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 4.1b

localize23.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (- (+ b (sqrt (fma (* (- 4.0) a) c (pow b 2))))) (* a (- 2.0)))
0.7b
(+ b (sqrt (fma (* (- 4.0) a) c (pow b 2))))
19.5b
(sqrt (fma (* (- 4.0) a) c (pow b 2)))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
12×add-sqr-sqrt times-frac associate-/l*
11×add-cube-cbrt
distribute-lft-neg-in distribute-rgt-neg-in add-cbrt-cube add-exp-log
distribute-lft-out add-log-exp
pow1
expm1-log1p-u fma-def sqrt-prod log1p-expm1-u
cbrt-undiv neg-mul-1 flip3-+ div-exp flip-+ distribute-neg-frac associate-/l/
neg-sub0 +-commutative rem-sqrt-square clear-num associate-/r* sum-log frac-2neg sqrt-pow1 pow1/2 div-sub prod-exp distribute-frac-neg cbrt-unprod div-inv
Counts
3 → 77
Calls
3 calls:
49.0ms
(/ (- (+ b (sqrt (fma (* (- 4.0) a) c (pow b 2))))) (* a (- 2.0)))
9.0ms
(+ b (sqrt (fma (* (- 4.0) a) c (pow b 2))))
1.0ms
(sqrt (fma (* (- 4.0) a) c (pow b 2)))

series375.0ms

Counts
3 → 9
Calls
3 calls:
137.0ms
(/ (- (+ b (sqrt (fma (* (- 4.0) a) c (pow b 2))))) (* a (- 2.0)))
124.0ms
(+ b (sqrt (fma (* (- 4.0) a) c (pow b 2))))
114.0ms
(sqrt (fma (* (- 4.0) a) c (pow b 2)))

simplify930.0ms

Counts
86 → 86
Iterations
IterNodes
done5000
21473
1366
0147

prune702.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 4.1b

localize54.0ms

Local error

Found 3 expressions with local error:

0.2b
(* (- (+ b (sqrt (fma (* (- 4.0) a) c (pow b 2))))) (/ (/ 1 (- 2.0)) a))
0.7b
(+ b (sqrt (fma (* (- 4.0) a) c (pow b 2))))
19.5b
(sqrt (fma (* (- 4.0) a) c (pow b 2)))

rewrite174.0ms

Algorithm
rewrite-expression-head
Rules
197×times-frac
116×add-sqr-sqrt
110×*-un-lft-identity
106×associate-*r*
103×add-cube-cbrt
31×distribute-lft-neg-in distribute-rgt-neg-in
18×add-exp-log
12×add-cbrt-cube associate-*l*
10×neg-mul-1
pow1 div-exp
prod-exp add-log-exp
div-inv distribute-neg-frac unswap-sqr
expm1-log1p-u cbrt-undiv fma-def flip3-+ sqrt-prod cbrt-unprod flip-+ log1p-expm1-u distribute-lft-out
frac-times associate-*l/
distribute-lft-neg-out +-commutative rem-sqrt-square rec-exp sum-log sqrt-pow1 pow1/2 1-exp pow-prod-down associate-*r/ *-commutative
Counts
3 → 179
Calls
3 calls:
150.0ms
(* (- (+ b (sqrt (fma (* (- 4.0) a) c (pow b 2))))) (/ (/ 1 (- 2.0)) a))
11.0ms
(+ b (sqrt (fma (* (- 4.0) a) c (pow b 2))))
2.0ms
(sqrt (fma (* (- 4.0) a) c (pow b 2)))

series352.0ms

Counts
3 → 9
Calls
3 calls:
137.0ms
(* (- (+ b (sqrt (fma (* (- 4.0) a) c (pow b 2))))) (/ (/ 1 (- 2.0)) a))
97.0ms
(+ b (sqrt (fma (* (- 4.0) a) c (pow b 2))))
117.0ms
(sqrt (fma (* (- 4.0) a) c (pow b 2)))

simplify656.0ms

Counts
188 → 188
Iterations
IterNodes
done5001
11315
0379

prune1.4s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 3.4b

regimes484.0ms

Accuracy

85.4% (4.2b remaining)

Error of 9.5b against oracle of 5.3b and baseline of 34.2b

bsearch210.0ms

Steps
ItersRangePoint
8
2.072994944964499e+129
8.571507078369983e+131
3.3896221835476005e+130
8
-8.904680992578465e-52
-2.849527055171251e-56
-4.356959927988237e-56

simplify793.0ms

Iterations
IterNodes
done5000
72227
6989
5496
4235
3127
289
163
034

end0.0ms

sample3.0s

Algorithm
intervals
Results
753.0ms921×body1280valid
748.0ms1025×body2560valid
530.0ms5841×body80valid
278.0ms2877×body80nan
170.0ms457×body640valid
71.0ms122×body5120valid
54.0ms245×body320valid
17.0ms116×body160valid