Details

Time bar (total: 39.3s)

analyze16.8s

Algorithm
search

sample123.0ms

Algorithm
intervals
Results
61.0ms117×body1280valid
18.0ms256×pre80true
17.0ms67×body640valid
5.0ms27×body320valid
2.0ms35×body80valid
1.0ms10×body160valid

simplify384.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 10.1b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
3.0b
(tan (+ y z))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

series111.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(+ x (- (tan (+ y z)) (tan a)))
43.0ms
(- (tan (+ y z)) (tan a))
26.0ms
(tan (+ y z))

simplify38.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune106.0ms

Filtered
39 candidates to 51 candidates (-30.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New411051
Fresh000
Picked101
Done000
Total421052

Merged error: 0.1b

Counts
52 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
4.0ms
(+ (tan y) (tan z))
13.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
12.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series299.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (tan y) (tan z))
130.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
122.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
22.0ms
(* (tan y) (tan z))

simplify75.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune148.0ms

Filtered
59 candidates to 79 candidates (-33.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New73679
Fresh369
Picked101
Done000
Total771289

Merged error: 0.1b

Counts
89 → 12

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (tan y) (tan z)) (cos a))
0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
19×associate-*l/
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
14×tan-quot *-un-lft-identity
12×add-cube-cbrt
10×pow1 associate-*l*
associate-*r*
associate-/l/
frac-sub
flip3-- flip--
prod-exp cbrt-unprod add-log-exp
flip3-+ times-frac pow-prod-down frac-add *-commutative flip-+ associate-/l* unswap-sqr
cbrt-undiv frac-times associate-*r/ div-exp associate-/r/
frac-2neg div-sub clear-num associate-/r* div-inv distribute-lft-out
Counts
4 → 96
Calls
4 calls:
7.0ms
(* (+ (tan y) (tan z)) (cos a))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
15.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

series234.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(* (+ (tan y) (tan z)) (cos a))
22.0ms
(* (tan y) (tan z))
22.0ms
(* (tan y) (tan z))
152.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

simplify70.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05871304
127011144
250031128

prune180.0ms

Filtered
83 candidates to 108 candidates (-30.1%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1053108
Fresh11011
Picked101
Done000
Total10713120

Merged error: 0.1b

Counts
120 → 13

localize34.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
49×pow1
44×tan-quot
22×add-exp-log add-cbrt-cube
20×frac-times pow-prod-down
16×add-sqr-sqrt
14×associate-*r/ associate-*l/
11×prod-exp cbrt-unprod
10×add-cube-cbrt *-un-lft-identity associate-*r* associate-*l*
pow-sqr *-commutative pow-prod-up add-log-exp
unswap-sqr
pow-plus
pow2 swap-sqr
Counts
4 → 112
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
11.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

series102.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (tan y) (tan z))
22.0ms
(* (tan y) (tan z))
26.0ms
(* (tan y) (tan z))
32.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

simplify42.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0311770
11417646
25001625

prune141.0ms

Filtered
75 candidates to 124 candidates (-65.3%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1240124
Fresh01212
Picked011
Done000
Total12413137

Merged error: 0.1b

Counts
137 → 13

regimes1.2s

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03935
14435
24435

end0.0ms

analyze15.9s

Algorithm
search

sample3.0s

Algorithm
intervals
Results
1.6s3885×body1280valid
514.0ms8000×pre80true
455.0ms1982×body640valid
114.0ms712×body320valid
55.0ms1142×body80valid
32.0ms279×body160valid

Profiling

Loading profile data...