Details

Time bar (total: 14.6s)

sample21.0ms

Algorithm
intervals
Results
12.0ms347×body80valid

simplify1.3s

Counts
1 → 1
Iterations

Useful iterations: 2 (9.0ms)

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

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize12.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))))

rewrite70.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:
11.0ms
(+ 1.0 (* x (- (* x 3.0) 4.0)))
8.0ms
(- (* x 3.0) 4.0)
33.0ms
(* x (- (* x 3.0) 4.0))
16.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

series211.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ 1.0 (* x (- (* x 3.0) 4.0)))
54.0ms
(- (* x 3.0) 4.0)
79.0ms
(* x (- (* x 3.0) 4.0))
49.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

simplify2.3s

Counts
85 → 85
Iterations

Useful iterations: 3 (933.0ms)

IterNodesCost
01191014
1296982
2853884
33608876
done5000876

prune218.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite29.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:
29.0ms
(* x (- (* x 9.0) 12.0))

series93.0ms

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

simplify3.3s

Counts
27 → 27
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
052273
1118270
2305236
3998236
44182236
done5000236

prune58.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize30.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))

rewrite128.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:
18.0ms
(+ 1.0 (+ (* 3.0 (pow x 2)) (* (- 4.0) x)))
12.0ms
(+ (* 3.0 (pow x 2)) (* (- 4.0) x))
72.0ms
(* 3.0 (+ 1.0 (+ (* 3.0 (pow x 2)) (* (- 4.0) x))))
24.0ms
(* 3.0 (pow x 2))

series247.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ 1.0 (+ (* 3.0 (pow x 2)) (* (- 4.0) x)))
104.0ms
(+ (* 3.0 (pow x 2)) (* (- 4.0) x))
56.0ms
(* 3.0 (+ 1.0 (+ (* 3.0 (pow x 2)) (* (- 4.0) x))))
51.0ms
(* 3.0 (pow x 2))

simplify953.0ms

Counts
91 → 91
Iterations

Useful iterations: done (951.0ms)

IterNodesCost
01271232
13471094
21224990
done5000866

prune233.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize14.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)))))

rewrite167.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:
19.0ms
(* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))
47.0ms
(* x (- (* x 3.0) 4.0))
34.0ms
(* x (- (* x 3.0) 4.0))
63.0ms
(* (* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0))))) (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))

series380.0ms

Counts
4 → 12
Calls
4 calls:
166.0ms
(* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))
88.0ms
(* x (- (* x 3.0) 4.0))
71.0ms
(* x (- (* x 3.0) 4.0))
54.0ms
(* (* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0))))) (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))

simplify3.1s

Counts
113 → 113
Iterations

Useful iterations: 3 (1.5s)

IterNodesCost
01672164
14211768
211781568
341141555
done50001555

prune452.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes26.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1119
done119

end0.0ms

sample1.4s

Algorithm
intervals
Results
1.2s10765×body80valid