Details

Time bar (total: 30.1s)

sample142.0ms

Algorithm
intervals
Results
15.0ms38×body1280valid
14.0ms188×body80valid
14.0ms27×body2560valid
8.0ms87×body80nan
5.0ms19×body640valid
1.0msbody320valid
1.0msbody5120valid
0.0msbody160valid

simplify82.0ms

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

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.0b

localize25.0ms

Local error

Found 4 expressions with local error:

21.1b
(sqrt (- (* b_2 b_2) (* a c)))
1.6b
(- (* b_2 b_2) (* a c))
0.9b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
0.1b
(/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a)

rewrite275.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
26×*-un-lft-identity
18×times-frac
16×add-cube-cbrt
10×difference-of-squares
sqrt-prod add-log-exp
add-cbrt-cube add-exp-log associate-/l*
pow1 distribute-lft-out--
flip3-- insert-posit16 flip--
associate-/r*
sub-neg sqrt-div diff-log associate-/l/
cbrt-undiv rem-sqrt-square clear-num frac-2neg sqrt-pow1 pow1/2 div-sub div-exp div-inv
Counts
4 → 88
Calls
4 calls:
Slowest
129.0ms
(/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a)
61.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
32.0ms
(- (* b_2 b_2) (* a c))
18.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series666.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
356.0ms
(/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a)
167.0ms
(sqrt (- (* b_2 b_2) (* a c)))
95.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
48.0ms
(- (* b_2 b_2) (* a c))

simplify3.9s

Counts
73 → 100
Calls
73 calls:
Slowest
366.0ms
(- (* (sqrt (- (* b_2 b_2) (* a c))) (sqrt (- (* b_2 b_2) (* a c)))) (* b_2 b_2))
270.0ms
(- (pow (sqrt (- (* b_2 b_2) (* a c))) 3) (pow b_2 3))
270.0ms
(sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3)))
244.0ms
(- b_2 (* 1/2 (/ (* a c) b_2)))
239.0ms
(/ (* (* (- (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)) (* (* a a) a))

prune1.2s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 3.6b

localize38.0ms

Local error

Found 4 expressions with local error:

21.1b
(sqrt (- (* b_2 b_2) (* a c)))
1.6b
(- (* b_2 b_2) (* a c))
0.9b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
0.2b
(* (- (sqrt (- (* b_2 b_2) (* a c))) b_2) (/ 1 a))

rewrite209.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
18×*-un-lft-identity
13×associate-*r* add-exp-log add-cube-cbrt
11×times-frac
add-cbrt-cube
add-log-exp
pow1
associate-*l*
flip3-- sqrt-prod flip--
prod-exp insert-posit16 difference-of-squares
unswap-sqr
frac-times sub-neg sqrt-div diff-log div-exp associate-*l/ cbrt-unprod distribute-lft-out--
cbrt-undiv rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp pow-prod-down associate-*r/ un-div-inv *-commutative div-inv
Counts
4 → 89
Calls
4 calls:
Slowest
149.0ms
(* (- (sqrt (- (* b_2 b_2) (* a c))) b_2) (/ 1 a))
33.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
16.0ms
(sqrt (- (* b_2 b_2) (* a c)))
9.0ms
(- (* b_2 b_2) (* a c))

series326.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
127.0ms
(* (- (sqrt (- (* b_2 b_2) (* a c))) b_2) (/ 1 a))
88.0ms
(sqrt (- (* b_2 b_2) (* a c)))
74.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
37.0ms
(- (* b_2 b_2) (* a c))

simplify5.0s

Counts
62 → 101
Calls
62 calls:
Slowest
484.0ms
(* (* (* (- (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)) (* (* (/ 1 a) (/ 1 a)) (/ 1 a)))
457.0ms
(* (- (* (sqrt (- (* b_2 b_2) (* a c))) (sqrt (- (* b_2 b_2) (* a c)))) (* b_2 b_2)) 1)
406.0ms
(* (- (pow (sqrt (- (* b_2 b_2) (* a c))) 3) (pow b_2 3)) 1)
299.0ms
(sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3)))
254.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))) a)

prune973.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 3.6b

localize22.0ms

Local error

Found 4 expressions with local error:

21.1b
(sqrt (- (* b_2 b_2) (* a c)))
13.5b
(/ (- 0 (* a c)) a)
1.6b
(- (* b_2 b_2) (* a c))
1.0b
(+ (sqrt (- (* b_2 b_2) (* a c))) b_2)

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
14×add-sqr-sqrt
13×add-cube-cbrt
times-frac
add-log-exp
add-cbrt-cube add-exp-log
pow1
insert-posit16
associate-/r* flip3-- sqrt-prod flip-- associate-/l*
sqrt-div associate-/l/
cbrt-undiv +-commutative rem-sqrt-square clear-num sum-log sub-neg frac-2neg sqrt-pow1 flip3-+ pow1/2 diff-log div-sub div-exp distribute-frac-neg flip-+ div-inv distribute-lft-out sub0-neg
Counts
4 → 74
Calls
4 calls:
Slowest
46.0ms
(+ (sqrt (- (* b_2 b_2) (* a c))) b_2)
20.0ms
(/ (- 0 (* a c)) a)
14.0ms
(- (* b_2 b_2) (* a c))
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series270.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
123.0ms
(+ (sqrt (- (* b_2 b_2) (* a c))) b_2)
72.0ms
(sqrt (- (* b_2 b_2) (* a c)))
64.0ms
(- (* b_2 b_2) (* a c))
12.0ms
(/ (- 0 (* a c)) a)

simplify4.3s

Counts
50 → 86
Calls
50 calls:
Slowest
1.4s
(/ (* (* (- 0 (* a c)) (- 0 (* a c))) (- 0 (* a c))) (* (* a a) a))
275.0ms
(sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3)))
273.0ms
(- (pow 0 3) (pow (* a c) 3))
262.0ms
(- (* 2 b_2) (* 1/2 (/ (* a c) b_2)))
232.0ms
(sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c))))

prune852.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 3.6b

localize24.0ms

Local error

Found 4 expressions with local error:

21.1b
(sqrt (- (* b_2 b_2) (* a c)))
1.6b
(- (* b_2 b_2) (* a c))
1.0b
(+ (sqrt (- (* b_2 b_2) (* a c))) b_2)
0.1b
(/ (- c) (+ (sqrt (- (* b_2 b_2) (* a c))) b_2))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
55×*-un-lft-identity
40×times-frac
32×add-sqr-sqrt
31×add-cube-cbrt
15×distribute-lft-neg-in distribute-rgt-neg-in
12×distribute-lft-out
10×associate-/l*
add-log-exp
add-cbrt-cube add-exp-log
pow1 neg-mul-1
associate-/r* insert-posit16
sqrt-prod
flip3-+ flip3-- sqrt-div associate-/r/ flip-+ flip--
neg-sub0 cbrt-undiv +-commutative rem-sqrt-square clear-num sum-log sub-neg frac-2neg sqrt-pow1 pow1/2 diff-log div-sub div-exp distribute-frac-neg div-inv
Counts
4 → 113
Calls
4 calls:
Slowest
39.0ms
(/ (- c) (+ (sqrt (- (* b_2 b_2) (* a c))) b_2))
21.0ms
(+ (sqrt (- (* b_2 b_2) (* a c))) b_2)
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))
7.0ms
(- (* b_2 b_2) (* a c))

series459.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
243.0ms
(/ (- c) (+ (sqrt (- (* b_2 b_2) (* a c))) b_2))
88.0ms
(+ (sqrt (- (* b_2 b_2) (* a c))) b_2)
81.0ms
(sqrt (- (* b_2 b_2) (* a c)))
48.0ms
(- (* b_2 b_2) (* a c))

simplify5.0s

Counts
119 → 125
Calls
119 calls:
Slowest
310.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)))
281.0ms
(sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3)))
263.0ms
(- b_2 (* 1/2 (/ (* a c) b_2)))
244.0ms
(- (* 2 b_2) (* 1/2 (/ (* a c) b_2)))
203.0ms
(sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c))))

prune1.1s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 3.6b

regimes314.0ms

Accuracy

96.3% (0.9b remaining)

Error of 6.5b against oracle of 5.7b and baseline of 29.4b

bsearch316.0ms

end0.0ms

sample4.2s

Algorithm
intervals
Results
1.4s1089×body2560valid
1.2s5842×body80valid
583.0ms906×body1280valid
320.0ms2795×body80nan
285.0ms464×body640valid
95.0ms122×body5120valid
69.0ms205×body320valid
26.0ms111×body160valid