Details

Time bar (total: 14.1s)

sample58.0ms

Algorithm
intervals
Results
22.0ms88×body1280valid
7.0ms38×body640valid
6.0ms22×body2560valid
4.0ms73×body80valid
3.0ms18×body320valid
2.0ms17×body160valid

simplify1.1s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
11812
24312
38812
419612
534012
6140012
done500012

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 43.1b

localize20.0ms

Local error

Found 2 expressions with local error:

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

rewrite89.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:
9.0ms
(+ (* x y) z)
79.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

series80.0ms

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

simplify540.0ms

Counts
35 → 35
Iterations

Useful iterations: done (539.0ms)

IterNodesCost
065500
1184483
2811449
done5001447

prune91.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 42.5b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite70.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:
9.0ms
(+ (* x y) z)
60.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

series73.0ms

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

simplify532.0ms

Counts
35 → 35
Iterations

Useful iterations: done (530.0ms)

IterNodesCost
065500
1184483
2811449
done5001447

prune178.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 42.5b

localize35.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x y) (* x y))
3.8b
(- (* (* x y) (* x y)) (* z z))
13.0b
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
29.3b
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

rewrite559.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:
57.0ms
(* (* x y) (* x y))
59.0ms
(- (* (* x y) (* x y)) (* z z))
321.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
115.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

series326.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* (* x y) (* x y))
87.0ms
(- (* (* x y) (* x y)) (* z z))
104.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
82.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

simplify2.0s

Counts
113 → 113
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01602219
14572030
223861438
done50011424

prune380.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 42.3b

localize17.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z)))) (/ (* z z) (- (* x y) z)))
12.3b
(- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z))))
19.1b
(/ (* z z) (- (* x y) z))
19.4b
(/ (* (* x y) (* x y)) (- (* x y) z))

rewrite1.0s

Algorithm
rewrite-expression-head
Rules
27×add-exp-log add-cbrt-cube
22×*-un-lft-identity
18×add-log-exp
10×add-sqr-sqrt
prod-exp cbrt-unprod
add-cube-cbrt
cbrt-undiv div-exp
times-frac associate-/r*
sum-log distribute-lft-out
pow1 flip3-- diff-log associate-/r/ flip-- distribute-lft-out--
sub-neg associate-+l+ frac-2neg frac-add clear-num div-inv associate-/l*
+-commutative associate-+l- flip3-+ flip-+ associate--r+ difference-of-squares
Counts
4 → 90
Calls
4 calls:
818.0ms
(+ (- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z)))) (/ (* z z) (- (* x y) z)))
109.0ms
(- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z))))
19.0ms
(/ (* z z) (- (* x y) z))
60.0ms
(/ (* (* x y) (* x y)) (- (* x y) z))

series359.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(+ (- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z)))) (/ (* z z) (- (* x y) z)))
84.0ms
(- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z))))
82.0ms
(/ (* z z) (- (* x y) z))
59.0ms
(/ (* (* x y) (* x y)) (- (* x y) z))

simplify2.9s

Counts
102 → 102
Iterations

Useful iterations: done (2.9s)

IterNodesCost
01722583
15722400
241462030
done50012028

prune348.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 42.2b

regimes388.0ms

Accuracy

0% (1.3b remaining)

Error of 45.2b against oracle of 43.9b and baseline of 45.2b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01730
12230
done2230

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.1s2606×body1280valid
813.0ms1547×body640valid
255.0ms625×body2560valid
203.0ms730×body320valid
123.0ms2143×body80valid
40.0ms349×body160valid