Details

Time bar (total: 15.9s)

sample30.0ms

Algorithm
intervals
Results
17.0ms347×body80valid

simplify1.3s

Counts
1 → 1
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
01013
12613
25511
312111
418211
521011
623611
728511
838311
948511
1055311
1157011
done57011

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*r* associate-*l*
distribute-rgt-in sub-neg distribute-lft-in
associate-+r+ associate-*r/
flip3-- flip3-+ pow-prod-down prod-exp *-commutative flip-- cbrt-unprod flip-+ unswap-sqr
+-commutative diff-log sum-log
Counts
4 → 73
Calls
4 calls:
20.0ms
(+ 1.0 (* x (- (* x 3.0) 4.0)))
16.0ms
(- (* x 3.0) 4.0)
42.0ms
(* x (- (* x 3.0) 4.0))
18.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

series265.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(+ 1.0 (* x (- (* x 3.0) 4.0)))
48.0ms
(- (* x 3.0) 4.0)
120.0ms
(* x (- (* x 3.0) 4.0))
54.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

simplify2.5s

Counts
85 → 85
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
01191014
1296982
2853884
33608876
done5000876

prune262.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.1b
(* x (- (* x 9.0) 12.0))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
35.0ms
(* x (- (* x 9.0) 12.0))

series82.0ms

Counts
1 → 3
Calls
1 calls:
82.0ms
(* x (- (* x 9.0) 12.0))

simplify3.6s

Counts
27 → 27
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
052273
1118270
2305236
3998236
44182236
done5000236

prune45.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×*-un-lft-identity
12×associate-*r*
11×add-exp-log add-log-exp
add-cube-cbrt
add-cbrt-cube
pow1 associate-*l*
unswap-sqr
distribute-lft-neg-out unpow-prod-down prod-exp sum-log
flip3-+ flip-+
+-commutative associate-+r- associate-*r/ unsub-neg *-commutative cbrt-unprod distribute-lft-out unpow2 sqr-pow
distribute-rgt-in pow-to-exp associate-+r+ distribute-lft-in pow-prod-down pow-exp
Counts
4 → 79
Calls
4 calls:
21.0ms
(+ 1.0 (+ (* 3.0 (pow x 2)) (* (- 4.0) x)))
19.0ms
(+ (* 3.0 (pow x 2)) (* (- 4.0) x))
66.0ms
(* 3.0 (+ 1.0 (+ (* 3.0 (pow x 2)) (* (- 4.0) x))))
13.0ms
(* 3.0 (pow x 2))

series220.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(+ 1.0 (+ (* 3.0 (pow x 2)) (* (- 4.0) x)))
99.0ms
(+ (* 3.0 (pow x 2)) (* (- 4.0) x))
40.0ms
(* 3.0 (+ 1.0 (+ (* 3.0 (pow x 2)) (* (- 4.0) x))))
44.0ms
(* 3.0 (pow x 2))

simplify1.1s

Counts
91 → 91
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01271232
13471094
21224990
done5000866

prune297.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite211.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
18×associate-*r*
15×pow1 add-exp-log add-cbrt-cube
14×sqrt-div associate-*r/
13×add-cube-cbrt *-un-lft-identity
10×associate-*l*
flip3-+ sqrt-prod flip-+
pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in frac-times sub-neg distribute-lft-in *-commutative add-log-exp unswap-sqr
flip3-- associate-*l/ flip--
Counts
4 → 101
Calls
4 calls:
23.0ms
(* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))
54.0ms
(* x (- (* x 3.0) 4.0))
32.0ms
(* x (- (* x 3.0) 4.0))
94.0ms
(* (* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0))))) (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))

series395.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))
90.0ms
(* x (- (* x 3.0) 4.0))
99.0ms
(* x (- (* x 3.0) 4.0))
64.0ms
(* (* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0))))) (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))

simplify3.4s

Counts
113 → 113
Iterations

Useful iterations: 3 (1.7s)

IterNodesCost
01672164
14211768
211781568
341141555
done50001555

prune405.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes13.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
089
1119
done119

end0.0ms

sample1.4s

Algorithm
intervals
Results
1.1s10765×body80valid