Details

Time bar (total: 10.7s)

sample24.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
3.0ms256×pre80true

simplify1.8s

Counts
1 → 1
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01025
13225
216923
3102919
done500115

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.6b

localize19.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* 2.0 2.0) (/ 1.0 (* i i)))
0.3b
(/ 1.0 (* i i))
0.6b
(/ (/ 1 (* 2.0 2.0)) (- (* 2.0 2.0) (/ 1.0 (* i i))))

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
68×times-frac
45×add-sqr-sqrt
27×add-exp-log add-cube-cbrt *-un-lft-identity
18×difference-of-squares
17×add-cbrt-cube
13×div-exp
10×associate-/l*
div-inv
cbrt-undiv prod-diff
associate-/r*
add-log-exp
prod-exp
pow1 expm1-log1p-u log1p-expm1-u
rec-exp flip3-- frac-2neg 1-exp clear-num associate-/r/ flip-- cbrt-unprod
sub-neg fma-neg diff-log associate-/l/
Counts
3 → 119
Calls
3 calls:
31.0ms
(- (* 2.0 2.0) (/ 1.0 (* i i)))
17.0ms
(/ 1.0 (* i i))
82.0ms
(/ (/ 1 (* 2.0 2.0)) (- (* 2.0 2.0) (/ 1.0 (* i i))))

series176.0ms

Counts
3 → 9
Calls
3 calls:
73.0ms
(- (* 2.0 2.0) (/ 1.0 (* i i)))
42.0ms
(/ 1.0 (* i i))
61.0ms
(/ (/ 1 (* 2.0 2.0)) (- (* 2.0 2.0) (/ 1.0 (* i i))))

simplify2.5s

Counts
128 → 128
Iterations

Useful iterations: done (2.5s)

IterNodesCost
02552549
16582376
233142142
done50012129

prune352.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 2.0 (/ (sqrt 1.0) i))
0.0b
(* (/ 1 (+ 2.0 (/ (sqrt 1.0) i))) (/ (/ 1 (* 2.0 2.0)) (- 2.0 (/ (sqrt 1.0) i))))
0.1b
(/ (/ 1 (* 2.0 2.0)) (- 2.0 (/ (sqrt 1.0) i)))
0.1b
(/ 1 (+ 2.0 (/ (sqrt 1.0) i)))

rewrite461.0ms

Algorithm
rewrite-expression-head
Rules
291×add-sqr-sqrt
276×times-frac
182×*-un-lft-identity
147×add-exp-log
129×add-cube-cbrt
73×div-exp
66×prod-diff
55×associate-*r*
48×difference-of-squares
47×prod-exp add-cbrt-cube
43×sqrt-prod
22×div-inv
20×cbrt-undiv
19×rec-exp 1-exp
18×associate-*l*
16×distribute-lft-out--
12×unswap-sqr
11×associate-/r* cbrt-unprod
10×associate-/l*
associate-/r/
pow1 distribute-lft-out
add-log-exp
expm1-log1p-u log1p-expm1-u
flip3-- fma-neg flip--
frac-2neg flip3-+ clear-num flip-+
frac-times sub-neg pow-flip diff-log associate-*r/ pow-prod-down associate-*l/ *-commutative associate-/l/ inv-pow
Counts
4 → 353
Calls
4 calls:
36.0ms
(- 2.0 (/ (sqrt 1.0) i))
258.0ms
(* (/ 1 (+ 2.0 (/ (sqrt 1.0) i))) (/ (/ 1 (* 2.0 2.0)) (- 2.0 (/ (sqrt 1.0) i))))
50.0ms
(/ (/ 1 (* 2.0 2.0)) (- 2.0 (/ (sqrt 1.0) i)))
66.0ms
(/ 1 (+ 2.0 (/ (sqrt 1.0) i)))

series463.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(- 2.0 (/ (sqrt 1.0) i))
202.0ms
(* (/ 1 (+ 2.0 (/ (sqrt 1.0) i))) (/ (/ 1 (* 2.0 2.0)) (- 2.0 (/ (sqrt 1.0) i))))
97.0ms
(/ (/ 1 (* 2.0 2.0)) (- 2.0 (/ (sqrt 1.0) i)))
81.0ms
(/ 1 (+ 2.0 (/ (sqrt 1.0) i)))

simplify948.0ms

Counts
365 → 365
Iterations

Useful iterations: done (923.0ms)

IterNodesCost
05399721
116418896
done50017450

prune941.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
0.2b
(* (* i i) (* i i))
13.9b
(/ (/ (* (* i i) (* i i)) (* (* 2.0 i) (* 2.0 i))) (- (* (* 2.0 i) (* 2.0 i)) 1.0))
41.0b
(/ (* (* i i) (* i i)) (* (* 2.0 i) (* 2.0 i)))

rewrite430.0ms

Algorithm
rewrite-expression-head
Rules
303×add-exp-log add-cbrt-cube
168×prod-exp cbrt-unprod
115×pow1
76×cbrt-undiv div-exp
36×pow-prod-up
26×times-frac
23×add-sqr-sqrt pow-prod-down
22×pow-sqr
18×pow-plus
16×add-cube-cbrt *-un-lft-identity
13×pow2
div-inv difference-of-squares
associate-/l* add-log-exp
associate-/r*
expm1-log1p-u log1p-expm1-u
prod-diff
flip3-- frac-2neg clear-num associate-/r/ flip--
sub-neg fma-neg diff-log swap-sqr associate-*r* associate-*l* *-commutative associate-/l/ unswap-sqr
Counts
4 → 245
Calls
4 calls:
60.0ms
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
61.0ms
(* (* i i) (* i i))
180.0ms
(/ (/ (* (* i i) (* i i)) (* (* 2.0 i) (* 2.0 i))) (- (* (* 2.0 i) (* 2.0 i)) 1.0))
109.0ms
(/ (* (* i i) (* i i)) (* (* 2.0 i) (* 2.0 i)))

series326.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
46.0ms
(* (* i i) (* i i))
150.0ms
(/ (/ (* (* i i) (* i i)) (* (* 2.0 i) (* 2.0 i))) (- (* (* 2.0 i) (* 2.0 i)) 1.0))
38.0ms
(/ (* (* i i) (* i i)) (* (* 2.0 i) (* 2.0 i)))

simplify664.0ms

Counts
257 → 257
Iterations

Useful iterations: done (656.0ms)

IterNodesCost
03127181
111275291
done50013985

prune377.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes33.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify7.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01321
11721
done1721

end0.0ms

sample955.0ms

Algorithm
intervals
Results
515.0ms8000×body80valid
228.0ms8000×pre80true