Details

Time bar (total: 12.8s)

sample60.0ms

Algorithm
intervals
Results
18.0ms79×body1280valid
14.0ms61×body640valid
5.0ms20×body2560valid
3.0ms67×body80valid
3.0ms17×body320valid
1.0ms12×body160valid

simplify1.4s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
11812
24312
38812
419612
534012
6140012
done500012

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 45.0b

localize22.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x y) z)
10.1b
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
13×add-log-exp
*-un-lft-identity
add-sqr-sqrt sum-log
diff-log
pow1 add-exp-log add-cube-cbrt add-cbrt-cube distribute-lft-out--
+-commutative sub-neg flip3-- flip3-+ flip-- flip-+ distribute-lft-out associate--r+ difference-of-squares
Counts
2 → 29
Calls
2 calls:
8.0ms
(+ (* x y) z)
67.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

series116.0ms

Counts
2 → 6
Calls
2 calls:
49.0ms
(+ (* x y) z)
67.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

simplify652.0ms

Counts
35 → 35
Iterations

Useful iterations: done (650.0ms)

IterNodesCost
065500
1184483
2811449
done5001447

prune121.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 44.4b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x y) z)
10.1b
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
10.1b
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
10.1b
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

rewrite238.0ms

Algorithm
rewrite-expression-head
Rules
33×add-log-exp
19×*-un-lft-identity
10×add-sqr-sqrt sum-log
diff-log
distribute-lft-out--
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg flip3-- flip-- distribute-lft-out associate--r+ difference-of-squares
+-commutative flip3-+ flip-+
Counts
4 → 65
Calls
4 calls:
16.0ms
(+ (* x y) z)
50.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
79.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
89.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

series200.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ (* x y) z)
54.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
49.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
71.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

simplify644.0ms

Counts
77 → 77
Iterations

Useful iterations: done (639.0ms)

IterNodesCost
0651252
11841207
28111125
done50011123

prune281.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 44.4b

localize37.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x y) (* x y))
3.0b
(- (* (* x y) (* x y)) (* z z))
11.3b
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
31.3b
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

rewrite586.0ms

Algorithm
rewrite-expression-head
Rules
43×pow1
18×add-exp-log *-un-lft-identity add-cbrt-cube
17×pow-prod-down
15×add-sqr-sqrt
13×add-cube-cbrt
12×times-frac
11×add-log-exp
prod-exp cbrt-unprod
difference-of-squares
flip3-- pow-sqr pow-prod-up flip-- associate-/l*
diff-log associate-/r*
sub-neg pow-plus div-sub associate-/r/ associate-/l/ distribute-lft-out--
cbrt-undiv pow2 associate-+r- frac-2neg swap-sqr div-exp associate-*r* associate-*l* clear-num sum-log *-commutative div-inv distribute-lft-out associate--r+ associate--r-
Counts
4 → 101
Calls
4 calls:
54.0ms
(* (* x y) (* x y))
59.0ms
(- (* (* x y) (* x y)) (* z z))
310.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
159.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

series337.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* (* x y) (* x y))
73.0ms
(- (* (* x y) (* x y)) (* z z))
131.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
86.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

simplify1.4s

Counts
113 → 113
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01602219
14572030
223861438
done50011424

prune350.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 44.2b

localize17.0ms

Local error

Found 4 expressions with local error:

3.0b
(- (* x (* y (* x y))) (* z z))
3.0b
(* x (* y (* x y)))
13.6b
(- (fma x y z) (+ 1.0 (/ (- (* x (* y (* x y))) (* z z)) (- (* x y) z))))
31.3b
(/ (- (* x (* y (* x y))) (* z z)) (- (* x y) z))

rewrite626.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
15×add-exp-log add-sqr-sqrt add-cbrt-cube
13×pow1 add-cube-cbrt
11×add-log-exp
times-frac
pow-prod-down prod-exp cbrt-unprod
flip3-- flip--
diff-log associate-*l* associate-/r* associate-/l*
sub-neg div-sub associate-/r/ associate-/l/ distribute-lft-out--
cbrt-undiv associate-+r- frac-2neg div-exp associate-*r* clear-num sum-log *-commutative div-inv distribute-lft-out associate--r+ associate--r- difference-of-squares
Counts
4 → 83
Calls
4 calls:
65.0ms
(- (* x (* y (* x y))) (* z z))
57.0ms
(* x (* y (* x y)))
364.0ms
(- (fma x y z) (+ 1.0 (/ (- (* x (* y (* x y))) (* z z)) (- (* x y) z))))
137.0ms
(/ (- (* x (* y (* x y))) (* z z)) (- (* x y) z))

series285.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(- (* x (* y (* x y))) (* z z))
54.0ms
(* x (* y (* x y)))
89.0ms
(- (fma x y z) (+ 1.0 (/ (- (* x (* y (* x y))) (* z z)) (- (* x y) z))))
68.0ms
(/ (- (* x (* y (* x y))) (* z z)) (- (* x y) z))

simplify1.8s

Counts
95 → 95
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01612065
14511998
224911786
done50011778

prune378.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 44.2b

regimes240.0ms

Accuracy

0% (1.6b remaining)

Error of 46.0b against oracle of 44.4b and baseline of 46.0b

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01526
12026
done2026

end0.0ms

sample2.8s

Algorithm
intervals
Results
838.0ms2633×body1280valid
719.0ms635×body2560valid
412.0ms1588×body640valid
242.0ms726×body320valid
166.0ms2084×body80valid
33.0ms334×body160valid