Details

Time bar (total: 16.1s)

sample214.0ms

Algorithm
intervals
Results
86.0ms50×body1280valid
22.0ms42×body640valid
15.0ms135×body80valid
7.0ms20×body320valid
5.0msbody160valid

simplify38.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
0715
11315
22214
32914
43714
54314
64514
done4514

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(- 1.0 (* (tan x) (tan x)))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
23×add-cube-cbrt *-un-lft-identity
18×pow1
12×times-frac
10×add-exp-log add-cbrt-cube
tan-quot
swap-sqr associate-*r* associate-*l* add-log-exp
difference-of-squares
expm1-log1p-u log1p-expm1-u associate-/l*
fma-neg prod-diff associate-/r*
pow2 frac-times flip3-- pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp associate-/r/ pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-sub div-exp clear-num flip-+ div-inv
Counts
4 → 119
Calls
4 calls:
20.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(- 1.0 (* (tan x) (tan x)))
17.0ms
(* (tan x) (tan x))
31.0ms
(* (tan x) (tan x))

series283.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
41.0ms
(- 1.0 (* (tan x) (tan x)))
36.0ms
(* (tan x) (tan x))
54.0ms
(* (tan x) (tan x))

simplify1.5s

Counts
131 → 131
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01511789
13771658
217001455
done50001439

prune481.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x))))
0.1b
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
0.2b
(- 1.0 (* (tan x) (tan x)))
0.3b
(* (tan x) (tan x))

rewrite122.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
89×add-sqr-sqrt
70×add-cube-cbrt *-un-lft-identity
22×associate-/r*
19×add-exp-log
17×difference-of-squares
13×add-cbrt-cube
12×pow1
11×associate-/r/
div-exp
flip3-- flip-- div-inv associate-/l* add-log-exp
tan-quot cbrt-undiv expm1-log1p-u log1p-expm1-u
fma-neg swap-sqr associate-*r* associate-*l* prod-diff
rec-exp frac-2neg 1-exp clear-num
pow2 frac-times sub-neg pow-flip pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod inv-pow unswap-sqr
Counts
4 → 184
Calls
4 calls:
20.0ms
(/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x))))
41.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
12.0ms
(- 1.0 (* (tan x) (tan x)))
33.0ms
(* (tan x) (tan x))

series456.0ms

Counts
4 → 12
Calls
4 calls:
187.0ms
(/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x))))
160.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
68.0ms
(- 1.0 (* (tan x) (tan x)))
41.0ms
(* (tan x) (tan x))

simplify2.1s

Counts
196 → 196
Iterations

Useful iterations: done (2.1s)

IterNodesCost
02814304
16873941
236273711
done50003692

prune638.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize29.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (tan x) (tan x) 1.0)
0.1b
(/ (fma (tan x) (tan x) 1.0) (+ (fma (- (tan x)) (tan x) (pow (cbrt 1.0) 3)) (* (tan x) (+ (- (tan x)) (tan x)))))
0.1b
(/ 1 (/ (fma (tan x) (tan x) 1.0) (+ (fma (- (tan x)) (tan x) (pow (cbrt 1.0) 3)) (* (tan x) (+ (- (tan x)) (tan x))))))
0.3b
(fma (- (tan x)) (tan x) (pow (cbrt 1.0) 3))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
56×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×associate-/r*
17×add-exp-log
11×associate-/r/ add-cbrt-cube
div-exp
div-inv associate-/l*
pow1 flip3-+ flip-+
cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp clear-num fma-udef
pow-flip inv-pow
Counts
4 → 137
Calls
4 calls:
1.0ms
(fma (tan x) (tan x) 1.0)
18.0ms
(/ (fma (tan x) (tan x) 1.0) (+ (fma (- (tan x)) (tan x) (pow (cbrt 1.0) 3)) (* (tan x) (+ (- (tan x)) (tan x)))))
30.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (+ (fma (- (tan x)) (tan x) (pow (cbrt 1.0) 3)) (* (tan x) (+ (- (tan x)) (tan x))))))
1.0ms
(fma (- (tan x)) (tan x) (pow (cbrt 1.0) 3))

series566.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(fma (tan x) (tan x) 1.0)
215.0ms
(/ (fma (tan x) (tan x) 1.0) (+ (fma (- (tan x)) (tan x) (pow (cbrt 1.0) 3)) (* (tan x) (+ (- (tan x)) (tan x)))))
166.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (+ (fma (- (tan x)) (tan x) (pow (cbrt 1.0) 3)) (* (tan x) (+ (- (tan x)) (tan x))))))
116.0ms
(fma (- (tan x)) (tan x) (pow (cbrt 1.0) 3))

simplify2.4s

Counts
149 → 149
Iterations

Useful iterations: done (2.4s)

IterNodesCost
02266037
15505161
228694576
done50013718

prune717.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fma (tan x) 0 (fma (- (tan x)) (tan x) 1.0)) (fma (tan x) 0 (fma (- (tan x)) (tan x) 1.0)))
0.3b
(fma (- (tan x)) (tan x) 1.0)
0.3b
(fma (- (tan x)) (tan x) 1.0)
0.3b
(fma (- (tan x)) (tan x) (pow (cbrt 1.0) 3))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
fma-udef
expm1-log1p-u log1p-expm1-u add-log-exp
swap-sqr associate-*r* associate-*l*
pow2 distribute-rgt-in distribute-lft-in pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
Counts
4 → 59
Calls
4 calls:
8.0ms
(* (fma (tan x) 0 (fma (- (tan x)) (tan x) 1.0)) (fma (tan x) 0 (fma (- (tan x)) (tan x) 1.0)))
0.0ms
(fma (- (tan x)) (tan x) 1.0)
0.0ms
(fma (- (tan x)) (tan x) 1.0)
0.0ms
(fma (- (tan x)) (tan x) (pow (cbrt 1.0) 3))

series413.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(* (fma (tan x) 0 (fma (- (tan x)) (tan x) 1.0)) (fma (tan x) 0 (fma (- (tan x)) (tan x) 1.0)))
82.0ms
(fma (- (tan x)) (tan x) 1.0)
104.0ms
(fma (- (tan x)) (tan x) 1.0)
76.0ms
(fma (- (tan x)) (tan x) (pow (cbrt 1.0) 3))

simplify757.0ms

Counts
71 → 71
Iterations

Useful iterations: done (754.0ms)

IterNodesCost
0841313
11751043
2816778
done5002763

prune443.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes145.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01851
12051
done2051

end0.0ms

sample4.5s

Algorithm
intervals
Results
1.4s1544×body1280valid
1.3s1255×body640valid
668.0ms4290×body80valid
495.0ms287×body160valid
368.0ms624×body320valid