Details

Time bar (total: 16.4s)

sample47.0ms

Algorithm
intervals
Results
23.0ms433×body80valid

simplify3.2s

Counts
1 → 1
Iterations

Useful iterations: 7 (1.5s)

IterNodesCost
01115
12314
25914
311014
420314
537714
6100114
7442813
done500013

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 15.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ (- (* x x) (* z z)) y))
0.2b
(/ (+ y (/ (- (* x x) (* z z)) y)) 2.0)
1.4b
(- (* x x) (* z z))
14.9b
(/ (- (* x x) (* z z)) y)

rewrite166.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
24×times-frac
23×add-sqr-sqrt add-cube-cbrt
add-exp-log add-cbrt-cube associate-/l* add-log-exp
associate-/r*
distribute-lft-out difference-of-squares
pow1 expm1-log1p-u div-sub log1p-expm1-u associate-/l/
fma-def
cbrt-undiv associate-+r- flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv
+-commutative sub-neg fma-neg diff-log prod-diff sum-log
Counts
4 → 107
Calls
4 calls:
25.0ms
(+ y (/ (- (* x x) (* z z)) y))
86.0ms
(/ (+ y (/ (- (* x x) (* z z)) y)) 2.0)
10.0ms
(- (* x x) (* z z))
40.0ms
(/ (- (* x x) (* z z)) y)

series332.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(+ y (/ (- (* x x) (* z z)) y))
110.0ms
(/ (+ y (/ (- (* x x) (* z z)) y)) 2.0)
66.0ms
(- (* x x) (* z z))
73.0ms
(/ (- (* x x) (* z z)) y)

simplify1.9s

Counts
119 → 119
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01711884
14351800
218081669
done50011659

prune445.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ y (- x z))
0.0b
(+ y (/ (+ x z) (/ y (- x z))))
0.2b
(/ (+ y (/ (+ x z) (/ y (- x z)))) 2.0)
0.2b
(/ (+ x z) (/ y (- x z)))

rewrite390.0ms

Algorithm
rewrite-expression-head
Rules
186×times-frac
183×*-un-lft-identity
129×add-sqr-sqrt
91×add-cube-cbrt
29×associate-/r*
27×distribute-lft-out
19×distribute-lft-out-- difference-of-squares
13×add-exp-log associate-/r/ add-cbrt-cube
11×associate-/l*
div-inv
flip3-- flip-- add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u associate-/l/
fma-def frac-2neg flip3-+ clear-num flip-+
+-commutative sum-log
Counts
4 → 219
Calls
4 calls:
12.0ms
(/ y (- x z))
60.0ms
(+ y (/ (+ x z) (/ y (- x z))))
239.0ms
(/ (+ y (/ (+ x z) (/ y (- x z)))) 2.0)
65.0ms
(/ (+ x z) (/ y (- x z)))

series241.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/ y (- x z))
53.0ms
(+ y (/ (+ x z) (/ y (- x z))))
79.0ms
(/ (+ y (/ (+ x z) (/ y (- x z)))) 2.0)
61.0ms
(/ (+ x z) (/ y (- x z)))

simplify2.1s

Counts
231 → 231
Iterations

Useful iterations: 2 (737.0ms)

IterNodesCost
03033965
17893742
243953505
done50003505

prune860.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize22.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x z) y)
0.1b
(fma (/ (+ x z) y) (- x z) y)
0.2b
(/ (fma (/ (+ x z) y) (- x z) y) 2.0)

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
21×times-frac
20×add-sqr-sqrt add-cube-cbrt
add-exp-log add-cbrt-cube associate-/l*
associate-/r*
distribute-lft-out
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv associate-/l/
flip3-+ flip-+ fma-udef
Counts
3 → 74
Calls
3 calls:
50.0ms
(/ (+ x z) y)
1.0ms
(fma (/ (+ x z) y) (- x z) y)
10.0ms
(/ (fma (/ (+ x z) y) (- x z) y) 2.0)

series280.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(/ (+ x z) y)
89.0ms
(fma (/ (+ x z) y) (- x z) y)
149.0ms
(/ (fma (/ (+ x z) y) (- x z) y) 2.0)

simplify795.0ms

Counts
83 → 83
Iterations

Useful iterations: done (790.0ms)

IterNodesCost
01301164
12621135
29181043
done50001041

prune356.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ (+ x z) (* y (/ 1 (- x z)))))
0.2b
(/ (+ y (/ (+ x z) (* y (/ 1 (- x z))))) 2.0)
0.2b
(/ (+ x z) (* y (/ 1 (- x z))))
0.3b
(* y (/ 1 (- x z)))

rewrite233.0ms

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity
39×add-sqr-sqrt
33×times-frac
30×add-exp-log
26×add-cube-cbrt
21×associate-*r*
20×add-cbrt-cube
10×div-exp
prod-exp associate-/l*
distribute-lft-out
pow1 cbrt-undiv add-log-exp
expm1-log1p-u associate-/r* associate-/r/ cbrt-unprod log1p-expm1-u associate-/l/
fma-def flip3-+ associate-*l* flip-+ div-inv distribute-lft-out-- difference-of-squares unswap-sqr
rec-exp frac-2neg 1-exp associate-*r/ clear-num un-div-inv
+-commutative flip3-- pow-prod-down sum-log *-commutative flip--
Counts
4 → 131
Calls
4 calls:
29.0ms
(+ y (/ (+ x z) (* y (/ 1 (- x z)))))
123.0ms
(/ (+ y (/ (+ x z) (* y (/ 1 (- x z))))) 2.0)
31.0ms
(/ (+ x z) (* y (/ 1 (- x z))))
41.0ms
(* y (/ 1 (- x z)))

series291.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(+ y (/ (+ x z) (* y (/ 1 (- x z)))))
79.0ms
(/ (+ y (/ (+ x z) (* y (/ 1 (- x z))))) 2.0)
77.0ms
(/ (+ x z) (* y (/ 1 (- x z))))
45.0ms
(* y (/ 1 (- x z)))

simplify1.9s

Counts
143 → 143
Iterations

Useful iterations: done (1.9s)

IterNodesCost
02182226
15782064
226241621
done50001566

prune484.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes248.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01114
11512
21612
done1612

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.3s13813×body80valid