Details

Time bar (total: 13.9s)

sample20.0ms

Algorithm
intervals
Results
11.0ms338×body80valid

simplify3.8s

Counts
1 → 1
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
01013
12713
26311
315110
429110
535610
642010
753210
869610
994410
10113910
11121810
12121910
done121910

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x 3.0) 4.0)
0.1b
(fma x (- (* x 3.0) 4.0) 1.0)
0.1b
(* 3.0 (fma x (- (* x 3.0) 4.0) 1.0))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
expm1-log1p-u associate-*r* associate-*l* prod-diff fma-udef log1p-expm1-u
distribute-rgt-in sub-neg flip3-- distribute-lft-in fma-neg diff-log pow-prod-down prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
Counts
3 → 50
Calls
3 calls:
11.0ms
(- (* x 3.0) 4.0)
0.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
13.0ms
(* 3.0 (fma x (- (* x 3.0) 4.0) 1.0))

series184.0ms

Counts
3 → 9
Calls
3 calls:
72.0ms
(- (* x 3.0) 4.0)
41.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
71.0ms
(* 3.0 (fma x (- (* x 3.0) 4.0) 1.0))

simplify1.7s

Counts
59 → 59
Iterations

Useful iterations: done (1.7s)

IterNodesCost
0100687
1214644
2505563
31884555
done5000546

prune189.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma x 9.0 (- 12.0))
0.1b
(fma x (fma x 9.0 (- 12.0)) 3.0)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma x 9.0 (- 12.0))
0.0ms
(fma x (fma x 9.0 (- 12.0)) 3.0)

series104.0ms

Counts
2 → 6
Calls
2 calls:
69.0ms
(fma x 9.0 (- 12.0))
35.0ms
(fma x (fma x 9.0 (- 12.0)) 3.0)

simplify1.6s

Counts
26 → 26
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
035238
155235
2120203
3387203
41961203
done5000203

prune111.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* x (- (* x 3.0) 4.0)) 3.0) (* 1.0 3.0))
0.0b
(- (* x 3.0) 4.0)
0.1b
(* (* x (- (* x 3.0) 4.0)) 3.0)
0.1b
(* x (- (* x 3.0) 4.0))

rewrite201.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
11×pow1 add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
prod-diff
add-log-exp
associate-*r*
distribute-rgt-in distribute-lft-in
expm1-log1p-u associate-*r/ associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
sub-neg flip3-- flip--
associate-*l/ *-commutative
+-commutative distribute-rgt-out fma-def flip3-+ fma-neg diff-log sum-log flip-+ unswap-sqr
Counts
4 → 87
Calls
4 calls:
44.0ms
(+ (* (* x (- (* x 3.0) 4.0)) 3.0) (* 1.0 3.0))
9.0ms
(- (* x 3.0) 4.0)
87.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)
58.0ms
(* x (- (* x 3.0) 4.0))

series311.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* (* x (- (* x 3.0) 4.0)) 3.0) (* 1.0 3.0))
65.0ms
(- (* x 3.0) 4.0)
140.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)
80.0ms
(* x (- (* x 3.0) 4.0))

simplify1.9s

Counts
99 → 99
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01521280
13631108
21155979
done5000962

prune186.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (+ (* 3.0 (pow x 2)) (* x (- 4.0))) 3.0) (* 1.0 3.0))
0.0b
(+ (* 3.0 (pow x 2)) (* x (- 4.0)))
0.1b
(* (+ (* 3.0 (pow x 2)) (* x (- 4.0))) 3.0)
0.2b
(* 3.0 (pow x 2))

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
11×add-exp-log associate-*r*
add-cube-cbrt *-un-lft-identity
add-cbrt-cube add-log-exp
pow1 associate-*l*
unswap-sqr
expm1-log1p-u unpow-prod-down prod-exp log1p-expm1-u
flip3-+ flip-+
+-commutative fma-def associate-*l/ sum-log *-commutative distribute-rgt-neg-out cbrt-unprod unpow2 sqr-pow
pow-to-exp distribute-rgt-out unsub-neg pow-prod-down pow-exp
Counts
4 → 82
Calls
4 calls:
35.0ms
(+ (* (+ (* 3.0 (pow x 2)) (* x (- 4.0))) 3.0) (* 1.0 3.0))
16.0ms
(+ (* 3.0 (pow x 2)) (* x (- 4.0)))
32.0ms
(* (+ (* 3.0 (pow x 2)) (* x (- 4.0))) 3.0)
21.0ms
(* 3.0 (pow x 2))

series318.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(+ (* (+ (* 3.0 (pow x 2)) (* x (- 4.0))) 3.0) (* 1.0 3.0))
111.0ms
(+ (* 3.0 (pow x 2)) (* x (- 4.0)))
127.0ms
(* (+ (* 3.0 (pow x 2)) (* x (- 4.0))) 3.0)
34.0ms
(* 3.0 (pow x 2))

simplify1.6s

Counts
94 → 94
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01321271
13521099
21215984
done5000869

prune269.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes15.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
done78

end0.0ms

sample1.3s

Algorithm
intervals
Results
1.1s10754×body80valid