Details

Time bar (total: 1.0m)

sample158.0ms

Algorithm
intervals
Results
20.0ms35×body2560valid
19.0ms180×body80valid
17.0ms36×body1280valid
7.0ms80×body80nan
5.0ms12×body640valid
2.0msbody320valid
1.0msbody160valid

simplify516.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
515.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)

prune14.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.7b

localize42.0ms

Local error

Found 4 expressions with local error:

20.9b
(sqrt (- (* b_2 b_2) (* a c)))
1.2b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
0.2b
(- (* b_2 b_2) (* a c))
0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)

rewrite172.0ms

Algorithm
rewrite-expression-head
Rules
79×add-sqr-sqrt
78×*-un-lft-identity
61×prod-diff
58×add-cube-cbrt
38×sqrt-prod
26×distribute-rgt-neg-in
21×distribute-lft-neg-in times-frac
11×fma-neg
10×distribute-lft-out-- add-log-exp difference-of-squares
neg-mul-1 associate-/l*
add-cbrt-cube add-exp-log
pow1
expm1-log1p-u flip3-- insert-posit16 log1p-expm1-u flip--
associate-/r* diff-log
sub-neg sqrt-div associate-/l/
associate--l- neg-sub0 cbrt-undiv rem-sqrt-square clear-num frac-2neg sqrt-pow1 pow1/2 div-sub div-exp neg-log div-inv
Counts
4 → 175
Calls
4 calls:
Slowest
71.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
39.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
39.0ms
(sqrt (- (* b_2 b_2) (* a c)))
17.0ms
(- (* b_2 b_2) (* a c))

series397.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
121.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
120.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
111.0ms
(sqrt (- (* b_2 b_2) (* a c)))
45.0ms
(- (* b_2 b_2) (* a c))

simplify16.4s

Counts
210 → 187
Calls
210 calls:
Slowest
472.0ms
(/ (* (* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (* (* a a) a))
341.0ms
(sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3)))
317.0ms
(- (* (- b_2) (- b_2)) (* (sqrt (- (* b_2 b_2) (* a c))) (sqrt (- (* b_2 b_2) (* a c)))))
287.0ms
(sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c))))
251.0ms
(- b_2 (* 1/2 (/ (* a c) b_2)))

prune1.9s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.0b

localize30.0ms

Local error

Found 4 expressions with local error:

20.9b
(sqrt (- (* b_2 b_2) (* a c)))
14.2b
(/ (* a c) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
0.3b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
0.2b
(- (* b_2 b_2) (* a c))

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
16×add-cbrt-cube add-exp-log
12×*-un-lft-identity
10×fma-def add-log-exp
add-sqr-sqrt
add-cube-cbrt
pow1
expm1-log1p-u cbrt-undiv distribute-rgt-neg-in div-exp prod-exp cbrt-unprod insert-posit16 log1p-expm1-u
distribute-lft-neg-in sqrt-prod
sum-log flip3-+ flip3-- sqrt-div associate-*r/ associate-/r/ flip-+ flip-- distribute-lft-out
neg-sub0 +-commutative rem-sqrt-square clear-num associate-/r* neg-mul-1 sub-neg frac-2neg sqrt-pow1 times-frac pow1/2 fma-neg diff-log prod-diff neg-log associate-+l- div-inv associate-/l*
Counts
4 → 89
Calls
4 calls:
Slowest
51.0ms
(/ (* a c) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
19.0ms
(sqrt (- (* b_2 b_2) (* a c)))
15.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
9.0ms
(- (* b_2 b_2) (* a c))

series477.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
236.0ms
(/ (* a c) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
99.0ms
(sqrt (- (* b_2 b_2) (* a c)))
99.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
42.0ms
(- (* b_2 b_2) (* a c))

simplify9.7s

Counts
46 → 101
Calls
46 calls:
Slowest
1.6s
(/ (* (* (* a c) (* a c)) (* a c)) (* (* (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))))
1.3s
(/ (* (* (* a a) a) (* (* c c) c)) (* (* (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))))
1.2s
(/ (* (* (* a a) a) (* (* c c) c)) (* (* (* a a) a) (* (* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))))
1.1s
(/ (* (* (* a c) (* a c)) (* a c)) (* (* (* a a) a) (* (* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))))
730.0ms
(- (log (* a c)) (log (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))))

prune1.1s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.0b

localize39.0ms

Local error

Found 4 expressions with local error:

20.9b
(sqrt (- (* b_2 b_2) (* a c)))
0.3b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
0.2b
(- (* b_2 b_2) (* a c))
0.1b
(/ c (- (sqrt (- (* b_2 b_2) (* a c))) b_2))

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
40×*-un-lft-identity
30×add-cube-cbrt
20×sqrt-prod
19×prod-diff
18×times-frac
10×difference-of-squares
add-log-exp
fma-neg
associate-/r* add-cbrt-cube add-exp-log
pow1 distribute-lft-out--
expm1-log1p-u flip3-- insert-posit16 log1p-expm1-u flip--
associate-/l*
sub-neg sqrt-div diff-log associate-/r/
cbrt-undiv rem-sqrt-square clear-num frac-2neg sqrt-pow1 pow1/2 div-exp div-inv
Counts
4 → 121
Calls
4 calls:
Slowest
46.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
42.0ms
(/ c (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
17.0ms
(sqrt (- (* b_2 b_2) (* a c)))
12.0ms
(- (* b_2 b_2) (* a c))

series565.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
300.0ms
(/ c (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
118.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
89.0ms
(sqrt (- (* b_2 b_2) (* a c)))
57.0ms
(- (* b_2 b_2) (* a c))

simplify5.3s

Counts
117 → 133
Calls
117 calls:
Slowest
292.0ms
(+ (* (sqrt (- (* b_2 b_2) (* a c))) (sqrt (- (* b_2 b_2) (* a c)))) (+ (* b_2 b_2) (* (sqrt (- (* b_2 b_2) (* a c))) b_2)))
292.0ms
(sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3)))
281.0ms
(sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c))))
208.0ms
(- b_2 (* 1/2 (/ (* a c) b_2)))
189.0ms
(/ (* (* c c) c) (* (* (- (sqrt (- (* b_2 b_2) (* a c))) b_2) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))

prune1.4s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.0b

localize28.0ms

Local error

Found 4 expressions with local error:

20.9b
(sqrt (- (* b_2 b_2) (* a c)))
0.3b
(/ 1 (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
0.3b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
0.2b
(- (* b_2 b_2) (* a c))

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
135×add-sqr-sqrt
108×*-un-lft-identity
82×add-cube-cbrt
28×sqrt-prod
26×difference-of-squares
22×associate-/r*
19×prod-diff
15×add-exp-log
13×distribute-lft-out--
add-cbrt-cube
add-log-exp
fma-neg div-exp
pow1
div-inv
expm1-log1p-u insert-posit16 log1p-expm1-u
cbrt-undiv flip3-- flip-- associate-/l*
rec-exp sub-neg sqrt-div diff-log 1-exp
rem-sqrt-square clear-num frac-2neg sqrt-pow1 pow1/2 associate-/r/ pow-flip inv-pow
Counts
4 → 192
Calls
4 calls:
Slowest
49.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
35.0ms
(/ 1 (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
10.0ms
(sqrt (- (* b_2 b_2) (* a c)))
8.0ms
(- (* b_2 b_2) (* a c))

series359.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
145.0ms
(/ 1 (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
90.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
77.0ms
(sqrt (- (* b_2 b_2) (* a c)))
47.0ms
(- (* b_2 b_2) (* a c))

simplify16.8s

Counts
232 → 204
Calls
232 calls:
Slowest
450.0ms
(/ (* (* 1 1) 1) (/ (* (* (- (sqrt (- (* b_2 b_2) (* a c))) b_2) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (* (* c c) c)))
435.0ms
(/ (* (* 1 1) 1) (* (* (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c) (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)))
416.0ms
(/ (cbrt 1) (/ (cbrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c))
393.0ms
(sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3)))
353.0ms
(/ (* (cbrt 1) (cbrt 1)) (/ (* (cbrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (cbrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) (* (cbrt c) (cbrt c))))

prune2.2s

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 5.0b

regimes307.0ms

Accuracy

82.6% (4.1b remaining)

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

bsearch255.0ms

end0.0ms

sample3.7s

Algorithm
intervals
Results
877.0ms1072×body2560valid
743.0ms5826×body80valid
740.0ms2851×body80nan
659.0ms880×body1280valid
197.0ms468×body640valid
114.0ms101×body5120valid
69.0ms217×body320valid
23.0ms103×body160valid